Query Invalidation with trpc not working with React Server Components and App Router
Hi guys, I am trying to do Optimistic updates with trpc but the problem is I am fetching data on the server component using trpc and passing it to client component
and here is the revalidation code
Here I've tried with revalidatePath but that also does nothing
Please help!!
and here is the revalidation code
Here I've tried with revalidatePath but that also does nothing
Please help!!