Caching Data for a trpc endpoint

I need to hit an external API every few minutes to update my local data Call this BigDataList I have a trpc endpoint - GetOne GetOne edits and reformats a single item of BigDataList and returns it How would I go about caching BigDataList so it only updates every few minutes?
3 Replies
Del
DelOP2y ago
bump
c
c2y ago
react query
Del
DelOP2y ago
Thank.
Want results from more Discord servers?
Add your server