Revalidate using App Dir tRPC
I am wondering how to trigger a revalidation to occur after a mutation is made
page.tsx
5 Replies
We're adding primitives for this in tRPC that will let you invalidate calls in a similar fashion to what you're used to. Not shipped yet though
you can inhouse some logic for now if you want - cehck this out: https://github.com/t3-oss/create-t3-turbo/tree/nextjs-app/apps/nextjs
GitHub
create-t3-turbo/apps/nextjs at nextjs-app · t3-oss/create-t3-turbo
Clean and simple starter repo using the T3 Stack along with Expo React Native - create-t3-turbo/apps/nextjs at nextjs-app · t3-oss/create-t3-turbo
Awesome! Have you put thought into optimistic updates also?
I don't really love the way react made them
This is looking so cool! 👀