OrenO
tRPCβ€’3y agoβ€’
4 replies
Oren

Hey πŸ‘‹

I'm looking to use tRPC with app-router specifically with this setup;

- My pages are RSC, and I want to fetch the data there using trpc route / .query or .fetch (page.tsx), cached
- My forms are "client side" I want to mutate using react-query on client side and manually invalidate RSC fetchers above ^ upon mutations

Does anyone have an example repo I can investigate to achieve this setup?
Was this page helpful?