Question about trpc revalidation method
alright I have a question, why can tRPC detect changes from the DB and refetch. but when I mutate the DB from the client I need to manually invalidate()?
1 Reply
trpc doesn’t detect changes from the DB, react query just refetches eagerly (many times unnecessarily, so even when data has not changed)
open the network tab and you’ll see what’s happening