question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation warnings for use of React.PropTypes and React.createClass

See original GitHub issue

As of React v15.5.0 you get deprecation warnings for using React.PropTypes and React.createClass. You now have to import these from separate packages (https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html)

Edit: Also, react-addons-test-utils has been moved to react-dom/test-utils…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Fauntleroycommented, May 1, 2017

@bmv437 You should be able to find 3.0.0 on npm. The changelog can be found here: https://github.com/Fauntleroy/react-simple-dropdown/releases/tag/3.0.0

1reaction
Fauntleroycommented, Apr 18, 2017

@andrevenancio @brynjagr Could you try installing react-simple-dropdown@3.0.0-alpha.1?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PropTypes and React.createClass deprecation warnings. Also ...
When running tests with a newly generated react native app, there are warnings about PropTypes being moved to a separate package and React....
Read more >
Disable React.createClass and PropTypes deprecated ...
Warning : Uncontrolled(Dropdown): React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead.
Read more >
React v15.5.0 – React Blog
New Deprecation Warnings. The biggest change is that we've extracted React.PropTypes and React.createClass into their own packages.
Read more >
Disable React.createClass and PropTypes deprecated ...
Warning : Uncontrolled(Dropdown): React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ...
Read more >
Workaround React deprecation warnings - Memory Spills
Warning : Accessing PropTypes via the main React package is deprecated. Use the ... createClass is deprecated and will be removed in version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found