How to trigger revalidate after server action on a client component
https://github.com/trpc/examples-next-app-dir/blob/main/src/app/server-action/ReactHookFormExample.tsx
Following this experimental example I am wondering how to trigger the revalidate on the client side after the server action is complete?
GitHub
examples-next-app-dir/src/app/server-action/ReactHookFormExample.ts...
Contribute to trpc/examples-next-app-dir development by creating an account on GitHub.
0 Replies