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.

Warnings from React

See original GitHub issue

Just copying some warnings I got from React 15.6.1 after using the library:

Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in  React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
Warning: Accessing factories like React.DOM.path has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead.  Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories

Cheers!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dylanvorstercommented, Sep 2, 2017

Mostly fixed in caadbf4a9a0b03bde4ee32c5f1b9789ee7ed34bb

0reactions
dylanvorstercommented, Sep 2, 2017

Fixed in 2.5.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common warnings in ReactJS - LinkedIn
Reena Kamra · 1. ComponentWillReceiveProps has been renamed, and is not recommended for use. · 2. React does not recognize prop on DOM...
Read more >
Unknown Prop Warning - React
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as...
Read more >
How to not show warnings in Create React App - Stack Overflow
I'm using create-react-app from Facebook, when it starts via 'npm start' it shows me a list of warnings, such as:.
Read more >
Warnings not always shown · Issue #11809 - GitHub
See the console output, doesn't show all of the warnings. Edit and save a file where you know there should be a warning...
Read more >
How to disable react warnings : r/reactjs - Reddit
This will also get rid of that // pesky warning :) return React.DOM.div(); }, componentDidMount: function() { var node = this.getDOMNode(); // Now...
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