-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
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.
- polyfill language features (core-js)
- polyfill web features
- polyfill specific features after web (core-js:
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 make core-js harder to use and maintain.
Reactions are currently unavailable