T
TanStack3y ago
rival-black

Can I use Tanstack Query within node.js?

Hi! I use Firebase Functions as a backend and have requests to different API from there. I want to use Query library to make this requests more convenient. Firebase functions handles by node.js, so I wonder is it a good idea to use Query on backend with node.js? Can't find any example or even discussion of such usage. If it's impossible, what libs for backend can you suggest with "Auto Refetching" and "Auto Caching"?
1 Reply
ratty-blush
ratty-blush3y ago
The core of TanStack Query is its caching and subscription capability. Doesn’t seem like you’d benefit from the capability. If you need caching capability on Node.js, you might be better off with a proper cache layer, i.e. Redis?

Did you find this page helpful?