RILEY BARABASH
TTCTheo's Typesafe Cult
•Created by RILEY BARABASH on 9/2/2024 in #questions
"Error: Text content does not match server-rendered HTML"
So now that I think about it, the flash-in is likely the data cached with suspense, which is why when I refresh it flashes back to that. But really that cache should be updated on every mutation - but it only updates when I restart the dev server.
Plus, that doesn't explain the error - and in the error dialog it shows the comparison between the cached data and the actual data being the problem.
Will be reverting to
useQuery
for now - if someone could elaborate on useSuspenseQuery
that would be great!2 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 11/6/2023 in #questions
TRPC fails to work on server components in Vercel environment
Experiencing the same issue.
20 replies