tRPC not invalidating queries called on RSC
I have a Home Component RSC which fetches the data by trpc and passes it to another client component.
The problem is when I mutate the data in the client component the original data isn't invalidated
My best guess would be because RSC don't get re-rendered .
how can I change my approach
The problem is when I mutate the data in the client component the original data isn't invalidated
My best guess would be because RSC don't get re-rendered .
how can I change my approach