fix(core): change `shouldFetchOptionally` condition #2556
Mergedjbee37142(GitHub profile, opens in a new tab)merged 3 commits into
master fromrefs/pull/2556/headmerged by TkDodo View on GitHubTkDodo reviewed
OutdatedResolvedby TkDodo@@ -763,3 +763,4 @@763763 return (764764 options.enabled !== false &&765765 (query !== prevQuery || prevOptions.enabled === false) &&766+ query.state.status !== 'error' &&TkDodo approved these changes
TkDodo merged this69f1eaf
TkDodo closed this
tannerlinsley added labelsreleased
Sign in to join this conversation.
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/tannerlinsley/react-query/9aHMnSCooAbKNSo9bLf5zZ1EP9zM ✅ Preview: https://react-query-git-fork-jaeyeophan-fix-should-7780ae-tannerlinsley.vercel.app