End-to-end type safety from Remix is already present with its Loaders/Actions. What if we could replace them with tRPC calls?
- Remix: https://remix.run/
- tRPC: https://trpc.io/
- ReactQuery tRPC: https://trpc.io/docs/client/react
- Serve tRPC client from Remix Server side
- Do not use Remix Loaders/Actions, use tRPC calls instead
- Get e2e type safety
- Include "Vanilla tRPC" + "ReactQuery tRPC" usage
npm ci # Install dependencies
npm run dev # Launch project locally