-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to React 18 #8048
Update to React 18 #8048
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, going ahead with this PR and hoping for a fix in the future is acceptable. |
Great find. This is already the case on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update React to v18 and bump other libs as needed.
Dependency upgrades:
react
17.0.x
to18.3.1
(latest / April 26, 2024)18.3.x
is the latest version before Reactreact-router-dom
5.1.x
-->5.3.4
5.3.3
is mentioned as compatible with React 185.x
-branch before the complete react-router redesign/reconfig/crazyiness in v6redux
&react-redux
react-redux
from7.1.x
-->8.0.x
.redux
from3.6.0
to4.1.2
react-redux
v8 requires requires redux 4.x4.0.0
Changelog mentions very little issues: "If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood."4.1.0
Changelog mentions mostly smaller bundle sizes4.2.
starts deprecating "regular" redux in favor forredux-toolkit
and in preparation for version 5.antd
5.16.x
to5.17.4
findDomNode
API in Changelogreact-virtualized
react-virtualized
byreact-virtualized-auto-sizer
from the same author<AutoSizer>
componentreact-sortable-hoc
/dnd-kit
react-sortable-hoc
withdnd-kit
react-debounce-render
mappings_settings.tsx
component, so not very critical if we want to refactor@tanstack/query
4.14.1
to4.36.1
, latest v4-version before v5flexlayout-react
0.5.5
to0.7.15
(latest)0.7.x
brings React 18 supportreact-json-tree
0.17.0
-->0.19.0
Support for defaultProps will be removed
. According to Changelog these were fixed in version 0.18 and 0.19URL of deployed dev instance (used for testing):
Steps to test:
TODOs:
react-redux
v8.1.xredux
v4.1Issues:
(Please delete unneeded items, merge only when none are left open)