Skip to content

Conversation

@jwinters01
Copy link

@jwinters01 jwinters01 commented Nov 18, 2025

Initial work for argoproj/argo-cd#25203. Upgrades React to version 18.

Resulting Storybook

react 18 storybook

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]>
package.json Outdated
"react-router-dom": "^5.0.0"
},
"devDependencies": {
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
Copy link
Author

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"
Copy link
Author

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

@jwinters01 jwinters01 marked this pull request as ready for review November 18, 2025 16:36
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant