TRPC Revalidating serverside queries
Hello, how can i revalidate serverside query data in TRPC?
Common things like
...etc doesnt work.. Is there way to revalidate server requests? :/
![No description](https://cdn.answeroverflow.com/1227341113036247161/image.png)
1 Reply
trpc only has caching for client requests. If this code is in a server component, you need to do
router.refresh()
to refetch it