Skip to content

Requests for features that fall outside of es #1020

@romainmenke

Description

@romainmenke

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.

  1. polyfill language features (core-js)
  2. polyfill web features
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions