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

createClass is depreciated #265

Open
erasmuswill opened this issue Dec 11, 2018 · 0 comments
Open

createClass is depreciated #265

erasmuswill opened this issue Dec 11, 2018 · 0 comments

Comments

@erasmuswill
Copy link

In #229 it was mentioned that the examples were updated for React 16. However, all of the examples still recommend using
var base = Rebase.createClass(app.database());
createClass has been deprecated:

content.bundle.js:22791 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

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

1 participant