Skip to content

Proposal for queryClient.isPaused feature #6756

Answered by TkDodo
crutchcorn asked this question in Ideas
Discussion options

You must be logged in to vote

I'm happy to take on this work to build out a useQueryState hook if this still sounds good to you

yeah, let's do this. There might some things you can use from the useMutationState hook, and maybe we can even unify some of the internals with shared code. They should be pretty much the same except that one subscribes to queryCache, the other to mutationCache, and they have differently typed filters :)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@crutchcorn
Comment options

crutchcorn Jan 23, 2024
Maintainer Author

@TkDodo
Comment options

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