-
Notifications
You must be signed in to change notification settings - Fork 281
Open
Labels
kind/miscCategorizes issue or PR as a miscellaneuous one.Categorizes issue or PR as a miscellaneuous one.
Description
Update to the next major React release (currently v18, v19 may be released soon)
A number of other dependencies will also need to be updated at the same time:
-
@tanstack/react-query@5- v5 drops support for React 17
- most of the preparation already done as part of React Router v6 update in Update to use React Router data router APIs #3465 and related issues. Remaining config changes described below
- originally described in Update React Router to v6 #2452 (comment)
- https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5
- rename
cacheTimetogcTime - rename
isLoadingtoisPending- also renames
status: loadingtostatus: pending, andisInitialLoadingtoisLoading - can we stick with
isLoadingfor most of our use cases? (the newisLoadingisisPending && isFetching) - see the 'status: pending' section of v5 Roadmap 🗺 TanStack/query#4252 for details
- also renames
- rename
- minimum react version 18.2.0
-
@testing-library/react@13or later- v13 drops support for React 17
- react-is (used by Carbon)
- ?
Metadata
Metadata
Assignees
Labels
kind/miscCategorizes issue or PR as a miscellaneuous one.Categorizes issue or PR as a miscellaneuous one.