You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I upgraded my react project to React 15+ (currently 15.5.4), I am getting 3 warnings on every page of my storybook, and it's starting to get a little annoying. I have traced back 2 of the warnings to this npm package.
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
This is because React.PropTypes is now considered deprecated, in favor of using the npm library prop-types instead (see the top banner of https://facebook.github.io/react/docs/typechecking-with-proptypes.html). The conversion is fairly easy and painless. If I get the time, I'll make the PR myself. But, this issue would be nice to resolve soon.
This package is a dependency of @kadira/storybook-addon-actions@^1.0.2 and @kadira/storybook-ui@^3.10.1, which are being brought into my project.
Thanks
The text was updated successfully, but these errors were encountered:
Once I upgraded my react project to React 15+ (currently
15.5.4
), I am getting 3 warnings on every page of my storybook, and it's starting to get a little annoying. I have traced back 2 of the warnings to this npm package.This is because React.PropTypes is now considered deprecated, in favor of using the npm library
prop-types
instead (see the top banner of https://facebook.github.io/react/docs/typechecking-with-proptypes.html). The conversion is fairly easy and painless. If I get the time, I'll make the PR myself. But, this issue would be nice to resolve soon.This package is a dependency of
@kadira/storybook-addon-actions@^1.0.2
and@kadira/storybook-ui@^3.10.1
, which are being brought into my project.Thanks
The text was updated successfully, but these errors were encountered: