-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Update tutorial doc for ES6 #3647
Comments
I think ES6 is the "new" way of doing things, so probably just update the existing examples. Feel free to submit a pull request. cc @sebmarkbage @zpao |
No, we're not ready to recommend ES6 classes to all newcomers. See #3375 for more details. |
@spicyj is right but we should clarify the blockers before we do want to switch. IMO they are:
|
I agree that ES6 is not ready for newcomers and it will be more than just updating the tutorial examples. |
Going to close this out as it's likely we'll forget to ever update this even after we update docs. We won't forget to come back to actually making the change when we're ready though. |
Are there plans to update https://facebook.github.io/react/docs/tutorial.html to ES6?
We are reworking internal documentation based on these tutorials to use ES6. We'd be happy to contribute back if you want us to update the code examples in the existing tutorial.
Would it be best to keep the existing
React.createClass
examples and add the ES6 underneath or create a new ES6 tutorial page (eg.react/docs/tutorial-es6.html
)?The text was updated successfully, but these errors were encountered: