Closed guilhermemj closed 2 years ago
Thanks for the PR!
Is the issue the peerDependencies? I wonder if we can broaden the peerDeps and leave the code alone as we're not really using any newer React features.
"peerDependencies": {
"react": "^16.6.0-0 || ^17.0.0 || ^18.0.0"
},
Actually that would work too! Should I create another PR with your proposed changes or the maintainers will do it?
I'll take care of it, plus push out a new version with that. Ty for the nudge!
Thank you very much!
Hello there! Just wanted to update some dependencies in order to use this library with React 17 (might as well do a similar PR for React 18 in the future).
The biggest changes are using
@wojtekmaj/enzyme-adapter-react-17
in favor ofenzyme-adapter-react-16
as there seems to be no official enzyme adapter for React 17 and that the package-lock.json was generated using npm v7 (all should be transparent to users).