jthrilly
jthrilly
TtRPC
Created by h on 9/11/2023 in #❓-help
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
TtRPC
Created by Trongar on 9/20/2023 in #❓-help
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