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

Fix documentation for React.createClass() over ES6 classes #78

Open
xndyz opened this issue Apr 17, 2017 · 0 comments
Open

Fix documentation for React.createClass() over ES6 classes #78

xndyz opened this issue Apr 17, 2017 · 0 comments

Comments

@xndyz
Copy link

xndyz commented Apr 17, 2017

You may see some talk about ES6 classes being the preferred way to create React components. This is untrue. Most people (including Facebook) are using React.createClass().

No where in the official docs did I see React.createClass being preferred over ES6 classes. Did you mean createReactClass, which auto-binds methods but requires you to load another module? I'm curious what the reasoning was for this comment.

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