roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.
http://roylee0704.github.io/react-flexbox-grid/
2.93k stars 206 forks source link

Accessing PropTypes via the main React package is deprecated #106

Closed davidep87 closed 7 years ago

davidep87 commented 7 years ago

After a React update i get this message related to PropTypes deprecation.

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

silvenon commented 7 years ago

Thanks for reporting! Frankly I'm unfamiliar with latest React updates/deprecations, which React version are you referring to?

davidep87 commented 7 years ago

I'm running the version 15.5.3

WillyPoteloin commented 7 years ago

Same here ! React 15.5.4

mastrauckas commented 7 years ago

Facebook moved PropTypes from package React to prop-types starting from v15.5 as stated here. Here is a PR that fixes the issue: #107

roylee0704 commented 7 years ago

111 Should resolve this.