T
TanStack3mo ago
genetic-orange

Programatically stop/pause all queries

Hi is there a way in tanstack query to stop all queries Id like to do so something like If user is inactive pause all queries till we revalidate the login in a separate window Then once its revalidated then enabled them all again. Is there like a pause all or something we can do to stop all from refetching on window focus i know there is the default query options which we have already set and we have set some per query too but we want to keep global config the same
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?