-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Warning: A Component: React.createClass is deprecated and will be removed in version 16 because of @storybook/addon-info #1114
Comments
The module causing the error (https://github.com/christianalfoni/markdown-to-react-components) is marked as DEPRECATED in its readme. They recommend migrating to marksy (https://github.com/cerebral/marksy). Using a deprecated package is bad |
Is this still available or was it resolved in #1188 ? |
@Jeff-Duke I think it's been fixed with the upgrade to |
This was referenced Nov 5, 2022
This was referenced Dec 25, 2022
This was referenced Dec 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/christianalfoni/markdown-to-react-components repo is deprecated, it has been moved to new repo - https://github.com/cerebral/marksy ,
markdown-to-react-components still uses React.createClass in one of its files which is deprecated in React 15, I'm getting warning in console as -
warning.js:36 Warning: A Component: 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.
As storybook/addon-info uses markdown-to-react-components ^0.2.1 version, please use https://www.npmjs.com/package/marksy which may fix it.
The text was updated successfully, but these errors were encountered: