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.

Component deprecation warning due to React upgrading to v15.5.0

See original GitHub issue

Version

2.9.1

Environment

Chrome 56

Reproduction link

http://codepen.io/benjycui/pen/KgPZrE

Steps to reproduce

N.A.

What is expected?

No such warning messages

What is actually happening?

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

Warning: AnimateChild: 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.


https://github.com/facebook/react/releases/tag/v15.5.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:23
  • Comments:40 (22 by maintainers)

github_iconTop GitHub Comments

26reactions
afc163commented, May 19, 2017

I believe all warnings are fixed in master now, and will be released in 2.10.2 at this weekend. 🎉

11reactions
crazyaircommented, May 19, 2017

天天等着这个 就怕这周改不完 发不了版 那得等到下周五了 Every day waiting for this and they were afraid this week, we don’t change the edition That have to wait until next Friday

Read more comments on GitHub >

github_iconTop Results From Across the Web

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. Both are ...
Read more >
How to fix React 15.5.3 PropTypes deprecated warning when ...
Pulled from Reacts blog - npm install prop-types, then use new code. Also it said you can get this error message if a...
Read more >
Journey towards upgrading to React-16 | by Ayushya Jaiswal
On April 8th 2017, React v15.5.0 was released and which deprecated: `React.createClass` and `React.PropTypes`.
Read more >
[Solved]-Accessing PropTypes via the main React package is ...
UPDATE. It seems like redux has updated it's dependencies to use React v15.5.0 and got rid of the deprecation warnings. It is fixed...
Read more >
Deprecations by version - GitLab Docs
If you are using your own Redis 5.0 instance, you should upgrade it to Redis 6.0 ... x.x will display a deprecation warning...
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