-
Notifications
You must be signed in to change notification settings - Fork 193
chore: React 18 upgrade #600
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
e57d4d9 to
2885b72
Compare
package.json
Outdated
| "react-router-dom": "^5.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@cfaester/enzyme-adapter-react-18": "^0.8.0", |
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.
This is a temporary measure. Enzyme is no longer supported past React 16, it would be better for us to move to React Testing Library in the long run. (issue for that task here: #601)
| "@types/react": "^18.0.0", | ||
| "react": "^18.0.0", | ||
| "react-dom": "^18.0.0", | ||
| "react-router-dom": "^5.0.0" |
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.
we need to rely on the core UI's React router for routing to work after the upgrade
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Signed-off-by: Jonathan Winters <[email protected]>
Initial work for argoproj/argo-cd#25203. Upgrades React to version 18.
Resulting Storybook