Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-Remarkable: createClass is deprecated #55

Open
swbloom opened this issue Jul 10, 2017 · 1 comment
Open

React-Remarkable: createClass is deprecated #55

swbloom opened this issue Jul 10, 2017 · 1 comment

Comments

@swbloom
Copy link
Contributor

swbloom commented Jul 10, 2017

React-Remarkable still uses createClass under the hood, causing the following error to throw:

webpack:///../~/react/lib/lowPriorityWarning.js?:40 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

should we consider moving away from react-remarkable to a newer alternative?

@Rchristiani
Copy link

This should have been resolved at the time of this issue actually.

There was a commit on April 23rd acdlite/react-remarkable@624845d#diff-1fdf421c05c1140f6d71444ea2b27638 that fixed this. I think we just need to bump our module version in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants