Skip to content

status should not be success when passing a falsy query key #426

Discussion options

You must be logged in to vote
  • The next major version of React Query will have this missing idle state. It's a breaking change, so I'm not taking it lightly or rushing it.
  • You can work around this by wrapping useQuery, detecting this state, and decorating the return value to have it.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kamranayub
Comment options

You must be logged in to vote
1 reply
@tannerlinsley
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #426 on April 30, 2020 15:44.