Closed MilllerTime closed 6 years ago
New in React 15.5 is a breaking change where PropTypes are no longer included within React, and have instead been moved to a separate prop-types package. Dropping the React. prefix from the PropTypes snippets should do it.
PropTypes
React.
Fixed as part of 1.0.7, which is now live on Package Manager.
Excellent, thanks!
New in React 15.5 is a breaking change where
PropTypes
are no longer included within React, and have instead been moved to a separate prop-types package. Dropping theReact.
prefix from the PropTypes snippets should do it.