T
TanStack•4y ago
correct-apricot

How does React query manage timers?

Just being curious, how does React query manage timers for invalidating the data or marking the data stale? I am hoping that setTimeouts are not being used here!
3 Replies
curious-teal
curious-teal•4y ago
it is setTimeout. Why not?
correct-apricot
correct-apricotOP•4y ago
can you point me to the code where it is implemented?
curious-teal
curious-teal•4y ago
just literally search for setTimeout in the codebase 😉

Did you find this page helpful?