Madmanali93M
tRPC3y ago
1 reply
Madmanali93

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
Contribute to trpc/examples-next-app-dir development by creating an account on GitHub.
examples-next-app-dir/src/app/server-action/ReactHookFormExample.ts...
Was this page helpful?