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 of React.createClass

See original GitHub issue

Hi, after upgrading React I get this warning:

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

Is there any plans to start using class Formsy extends Component?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:30
  • Comments:6

github_iconTop GitHub Comments

5reactions
gilbarbaracommented, Jun 11, 2017

I think this repo is dead. 😢

1reaction
sibeliuscommented, Jul 17, 2017

this is a better approach https://github.com/jaredpalmer/formik for forms

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert React.createClass to ES6 Class - Dave Ceddia
As of React 15.5, createClass is deprecated. You'll get warnings in the console if you're using it in your code – and, when...
Read more >
Disable React.createClass and PropTypes deprecated ...
Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If...
Read more >
React.createClass is deprecated and will be removed ... - GitHub
Warning: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, ......
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. Both are ...
Read more >
Will React Classes Get Deprecated Because of Hooks?
Before you say anything, yes, I am aware that React's official documentation states that there are no plans to deprecate class components ......
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