Skip to content
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

v2.10.0 - upgrade to React 17 #50

Closed
wants to merge 3 commits into from
Closed

Conversation

shaunanoordin
Copy link
Member

PR Overview

This PR upgrades the peer dependencies to React 17, and bumps the package to version 2.10.0

This repo may be deprecated, but it's still a dependency on Panoptes-Front-End. Its usage of React 16 is causing serious issues with the build process on Node 16.15. See zooniverse/Panoptes-Front-End#6155

Status

  • WIP. Changes should work in theory, but I'm testing a local PFE build with this.
  • I'm trying to see how far I can update the other dependencies as well, for security's sake.

@shaunanoordin
Copy link
Member Author

Oh thank gods the other dependencies could be updated with no issues. npm audit fix is now clear.

Copy link
Contributor

@eatyourgreens eatyourgreens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peer dependencies should be React greater than 16.2.

"react": "^16.2.0",
"react-dom": "^16.2.0"
"react": "17.x",
"react-dom": "^17.x"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The peer dependencies should include React 16 and React 17. See Markdownz for an example.

@shaunanoordin
Copy link
Member Author

I'm closing PR this since it's no longer too urgent - we have a workaround for PFE PR 6155, which is to use --legacy-peer-deps.

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.

2 participants