Describe the bug
When I created useQuery with enabled: false option, isLoading variable is always true.
Your minimal, reproducible example
https://codesandbox.io/s/react-query-enabled-7u58d5-7u58d5
Steps to reproduce
- Create simple query by use
useQuery,
- Add
enabled: false into options,
- Check state for
isLoading.
Expected behavior
State isLoading is false.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
- OS: Windows 11 22H2,
- Browser: Chrome
- Version: 103
react-query version
4.0.10
TypeScript version
4.7.4
Additional context
No response