React 17 peer support
deavial opened this issue · 11 comments
NPM warning airbnb-prop-types@2.16.0 requires a peer of react@^0.14 || ^15.0.0 || ^16.0.0-alpha but none is installed. You must install peer dependencies yourself.
with React 17.
Please release support for the peer dependency.
What about re-writing the tests to use an alternative testing library? How much does it actually use Enzyme? I can't see much usage of it. This means we could release this without waiting for Enzyme adaptor?
I’m not particularly interested in doing that; and either way, there doesn’t exist an alternative react testing library for testing in a non-browser context.
Hello, there is now an adapter for Enzyme, i will link it here.
Can we please have an update for this. it is really important as React 17 is growing on popularity.
https://www.npmjs.com/package/@wojtekmaj/enzyme-adapter-react-17
You can see that this package has 300.000 downloads weekly.
No, there isn’t. That’s an unofficial one.
There's enzyme-adapter-react-17 package, Can we re-open this issue again?
@Luksys5 no, because that's an unofficial package. if it worked reliably, i'd have published the official one.
Also, the issue doesn't need to be reopened, because it's still open now.
def can benefit from this! thanks op
is there any version of airbnb-prop-types which depends on react 17 version
Not yet, otherwise this issue would be closed.
ok