Skip to content

refetchInterval triggered multiple times. #7823

Answered by TkDodo
ibrahim-ytl asked this question in General
Discussion options

You must be logged in to vote

we call the function a lot internally to calculate the interval. Timers need to be re-calculated every time options update / new data comes in etc. This can happen on every render. It's a pure function so it shouldn't matter to you how often we call it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ibrahim-ytl
Comment options

Answer selected by ibrahim-ytl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants