-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Requests for features that fall outside of es
#1020
Comments
Hi @romainmenke, sorry for the delay with reply. A simple answer is - I agree that having those polyfills in
At this moment and for the next few months, I don't think that something excepting iterable DOM collections will cause such problems for you.
Sure, I always welcome contributions - you could find some issues about the implementation of web standards, you could improve something existent. I think that a little bit later I'll give a little more detailed answer. |
Hey @zloirock, thank you for getting back to me on this.
This is already great to hear as it wasn't fully clear to me what your position was on this.
I agree, This issue is not unique to us and illustrates how difficult it is to get this right in the current landscape. If there is a place for "web" feature polyfills in |
Going to close this as I mainly wanted to know your position and hear your thoughts! would be really nice if there was only one tool for polyfills without need for things like |
Let's reopen it to avoid some questions. |
There are often feature requests here for non-
es
features.We found that having those polyfills in
core-js
can be a challenge.DOM iterators for example requires polyfills for DOM collections for browsers without native support.
The polyfill for a DOM collection might depend on newer language features.
web.dom-collections.iterator
)This very specific execution order makes it hard to configure everything correctly.
Is there something that could be done to improve this?
Or might it be better to avoid non-
es
features?This is something we solved for ourselves with core-web and we found a relatively low effort way to avoid conflicts or incorrect loading orders.
But we fear that having more and more
dom
features here will makecore-js
harder to use and maintain.The text was updated successfully, but these errors were encountered: