Skip to content

Why using stage:2 for babel? #724

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

Closed
coodoo opened this issue Sep 13, 2015 · 3 comments
Closed

Why using stage:2 for babel? #724

coodoo opened this issue Sep 13, 2015 · 3 comments
Labels

Comments

@coodoo
Copy link

coodoo commented Sep 13, 2015

Just flipped through the v3 examples and found them all using {stage:2} in .babelrc, just wondering is there any particular reasons in doing so? Thanks.

@gaearon
Copy link
Contributor

gaearon commented Sep 13, 2015

We don't want to scare people off by using proposed-for-ES7 features in examples.
Previously people commonly assumed they are required for Redux.

#226
#373
#466

@coodoo
Copy link
Author

coodoo commented Sep 13, 2015

Good call, thanks for the clarification!

@dbrans
Copy link
Contributor

dbrans commented Sep 18, 2015

@gaearon stage 2 is still ES7. https://babeljs.io/docs/usage/experimental/
Do you want a PR that changes examples to use stage 3?

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

No branches or pull requests

3 participants