-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
FR: Rewrite libs in ES201{5/6} #3371
Comments
Do you concrete proposals? Please note that some ES6 features have performance issues that currently make them unsuitable for use in core. |
In general, newer ES6 features will eventually begin to creep into lib more and more but only when we're sure they're being optimized by V8 and we're sure they actually make sense. For instance, we do make extensive use of |
Perhaps we should add an "ES6" section to the contribution guidelines that details which features are acceptable to use in core (basically the ones that have been optimized). |
that would be helpful... but I would be careful about classifying them as "acceptable". It should be positioned as a best practice based on (1) what is optimized and (2) what is in the best interests of the ecosystem |
Going to close this because:
|
👍 An
🌵 Yes, I have seen few cases where the polyfill is faster! [Agree polyfill doesn't take care of all the edge cases, but some of those edge cases are for the 1% ]
Agree, it could be a slow progression, at least with those with no perf issues? |
It would nice to have lib in
ES201{5/6}
now that we support few features, did notconst
being used widely, we could bring in others as well?The text was updated successfully, but these errors were encountered: