Deduplicating Prisma requests. Smart idea?
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
I have several pages where same query is executed. Data is dynamic but does it make sense to react cache the function?
Answered by B33fb0n3
yea it makes sense to put your function inside a react cache to dedupe the requests. Iirc only requests with the same variables will be deduped