Describe the bug
In react-query@beta version has strange behaviour. By default query that has enabled: false option has isLoading: true property (see code sandbox for details). In stable release react-query@^3 is has isLoading: false. I didn't find any notes about this update in change logs so it seems like a bug.
Your minimal, reproducible example
https://codesandbox.io/s/eager-bell-epuvfi?file=/src/App.js
Steps to reproduce
Define simple query with enabled: false option
Expected behavior
Query should have isLoading: false
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Any
react-query version
4.0.0-beta.7
TypeScript version
Not relevant
Additional context
No response
Describe the bug
In
react-query@betaversion has strange behaviour. By default query that hasenabled: falseoption hasisLoading: trueproperty (see code sandbox for details). In stable releasereact-query@^3is hasisLoading: false. I didn't find any notes about this update in change logs so it seems like a bug.Your minimal, reproducible example
https://codesandbox.io/s/eager-bell-epuvfi?file=/src/App.js
Steps to reproduce
Define simple query with
enabled: falseoptionExpected behavior
Query should have
isLoading: falseHow often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Any
react-query version
4.0.0-beta.7
TypeScript version
Not relevant
Additional context
No response