Are you willing to submit a PR to fix? Yes
Requested priority: Normal
By React v15.5, React.PropTypes
is deprecated.
Latest office-ui-fabric-react
calls it directly, so we encounter the deprecation message like below.
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
I'm not sure we can resolve this without taking a hard dependency on 15.5.4 which may break a lot of people.
From my understanding it should be backwards compatible if you included the prop-types package and replaced references React.PropTypes with https://github.com/reactjs/prop-types#compatibility
I'm happy to do a PR to fix this issue as well
I've found react-addons-test-utils
is also deprecated, it moved into react-dom/test-utils
.
We have to resolve both finally, but probably we can try them separately.
I'll try the following steps.
prop-types
with keeping React v15.4react-addons-test-utils
Most helpful comment
I've found
react-addons-test-utils
is also deprecated, it moved intoreact-dom/test-utils
.We have to resolve both finally, but probably we can try them separately.
I'll try the following steps.
prop-types
with keeping React v15.4react-addons-test-utils