#How does React query manage timers?

3 messages · Page 1 of 1 (latest)

compact fossil
#

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!

granite epoch
#

it is setTimeout. Why not?

compact fossil
#

can you point me to the code where it is implemented?