forbidExtraProps seems to have no effect
Nantris opened this issue · 2 comments
Nantris commented
All the other prop types checks we use both from airbnb and elsewhere seem to work as expected, but forbidExtraProps
has no effect no matter where we try it or what we pass it.
We're using airbnb-prop-types@2.16.0
with react@17.0.2
.
Any thoughts? Is it broken? Surely we can't be the only ones?
We do not use Use of airbnb-js-shims, but after reviewing the shims, all functions are already supported in our environment without shimming.
ljharb commented
See my comment in ljharb/prop-types-exact#13; it should continue to work fine afaik, but we only test up to react 16 right now until enzyme supports react 17+.