We're on React 17 - can we upgrade from React Query v3 straight to v5? #8841
-
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.
Replies: 1 comment
-
yes, I’d recommend going straight from v3 to v5 because of the https://github.com/TanStack/query/releases/tag/v3.35.0 |
Beta Was this translation helpful? Give feedback.
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