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

peerDependencies are not compatible to react 17 #26

Open
jeffrson opened this issue Jan 20, 2022 · 2 comments
Open

peerDependencies are not compatible to react 17 #26

jeffrson opened this issue Jan 20, 2022 · 2 comments

Comments

@jeffrson
Copy link

The peerDependencies "react" and "react-dom" do not comply with version 17.0.0 (still 15 and 16 only).

@jeremyckahn
Copy link

Is there any functional reason why React 17 isn't supported, or is it just a matter up updating the package.json?

@callistusasir
Copy link

For those wishing to handle this error with an override here is a snippet. I have run some tests against my app with this change, and the build seems to still be ok.

// package.json commented out reset for brevity
   ....
  "overrides": {
   ... 
    "react-file-reader-input": {
      "react": "$react",
      "react-dom": "$react-dom"
    ....
  },
  ...

Ideally if this can actually be fixed in the repo that would be awesome

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

No branches or pull requests

3 participants