Why is server-trpc's createContext react-cached?

Hello Why is createContext (in src/trpc/server.ts , which is used to create a context for every trpc call from server-side) cached per SSR request (cache(async () => ...)? I have no issue or bug. I just wanna learn, please.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?