We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143c5b2 commit 4d66f14Copy full SHA for 4d66f14
src/index.js
@@ -206,7 +206,7 @@ export function useQuery(
206
207
const isCached = successCount && !error
208
209
- const [isLoading, setIsLoading] = React.useState(!cache || !isCached)
+ const [isLoading, setIsLoading] = React.useState(manual ? false : !cache || !isCached)
210
211
const latestRef = React.useRef({})
212
latestRef.current = {
0 commit comments