-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Warning: AutosizeInput: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.
Solution for first one:
- Add prop-types package.
- Any file that has 'React.PropTypes' in it: add an import for PropTypes, remove the React. prefix.
Not sure about the exact fix for the second one. I guess adding create-react-class to dependencies if refactoring to classes isn't viable?
Thanks for building this package, dude!
delveintechnolabs, thomaswinckell, ganjahnavarro, MichaelDeBoey, Betree and 44 more
Metadata
Metadata
Assignees
Labels
No labels