We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no isLoading variable returned from useMutation. Also the status of the query does not return loading.
isLoading
.
isLoading and status of 'loading' to be returned
Every time
react-query
v5.12.2
v4.8.4
No response
The text was updated successfully, but these errors were encountered:
If you are using version 5, you need to change isLoading and "loading" status to isPending and "pending" status in mutations.
"loading"
isPending
"pending"
https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5#status-loading-has-been-changed-to-status-pending-and-isloading-has-been-changed-to-ispending-and-isinitialloading-has-now-been-renamed-to-isloading
Sorry, something went wrong.
No branches or pull requests
Describe the bug
There is no
isLoading
variable returned from useMutation. Also the status of the query does not return loading.Your minimal, reproducible example
.
Steps to reproduce
Expected behavior
isLoading and status of 'loading' to be returned
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Tanstack Query adapter
react-query
TanStack Query version
v5.12.2
TypeScript version
v4.8.4
Additional context
No response
The text was updated successfully, but these errors were encountered: