jthrilly
Which one method should I use for creating trpc for server componetns in Nextjs 13 App dir
I've also got this question! They have totally different APIs, but function fairly similarly in practice. What are the pros and cons of each approach?
One thing I've noticed is that using
experimental_createTRPCNextAppDirServer
with experimental_nextCacheLink
was leading to stale data that caused infinite loops for me.3 replies
Optimizing Data Refresh with trpc in React/Nextjs? Is there a more efficient way?
There's the thermonuclear option: https://trpc.io/docs/client/react/useContext#invalidate-full-cache-on-every-mutation
But yeah, I'm also interested in this...
5 replies