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?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.