How can I automatically use react's cache with tRPC on server side?
I have this in my repo:
But, now I need to understand, how should I export the actual functions from the api caller so they are all cached with react's cache?
I of course could do something like this
But I would prefer if I could get an instance of api where all of my endpoints will be using the cache automatically. something like
0 Replies