We're on React 17 - can we upgrade from React Query v3 straight to v5? #8841
Answered
by
TkDodo
cmacdonnacha
asked this question in
General
-
We're looking to upgrade React 17 to 18, but React Query v3 doesn't seem to support React 18, so it looks like we first need to upgrade to React Query v4, then upgrade to React 18, then migrate to React Query v5. I am aware of Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Mar 24, 2025
Replies: 1 comment
-
yes, I’d recommend going straight from v3 to v5 because of the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cmacdonnacha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, I’d recommend going straight from v3 to v5 because of the
isLoading
things. You can use v3 with React18, you just can’t use concurrent features with it, see the release notes of v3.35.0:https://github.com/TanStack/query/releases/tag/v3.35.0