/remix-trpc-stack

💿 Remix + tRPC experimental stack [Lab 🧪]

Primary LanguageTypeScript

Remix and tRPC Logo

💿 Remix + tRPC experimental stack [Lab 🧪]

End-to-end type safety from Remix is already present with its Loaders/Actions. What if we could replace them with tRPC calls?

What's included?

Goals/Features

  • 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

Set up

npm ci                          # Install dependencies
npm run dev                     # Launch project locally