Skip to content

Drop obsolete browser support #3208

Closed
Closed

Description

@Timer

With the recent release of React 16, React is beginning to depend on more browser features such as Map, Set, and requestAnimationFrame.

This issue proposes dropping support for IE9 and IE10, as they had reached End-of-Life on January 12, 2016.

IE 11 has basic support for Map and Set, enough for React to function:

IE 11 also has support for requestAnimationFrame and cancelAnimationFrame.


fetch is not supported in any version of Internet Explorer, nor is Object.assign() or Promise, so all existing polyfills would have to remain.

This will prevent us from having to add about ~6kb in polyfills, and has the added benefit of increasing our syntax support level to that of IE 11.

This allows users to use let, const, and block level function declarations [in depended upon packages]!

Activity

  1. added this to the milestone on Sep 28, 2017
  2. Timer commented on Sep 28, 2017

    @Timer
    ContributorAuthor

    Additionally, we may leave the syntax level IE 9 (var everything), and then provide an additional polyfill for users who still want IE9 support (including Map, Set, requestAnimationFrame, and cancelAnimationFrame).

  3. oriSomething commented on Sep 28, 2017

    @oriSomething

    @Timer Maybe splitting to 2 builds by using nomodule feature for the newer browsers?

  4. andriijas commented on Oct 2, 2017

    @andriijas
    Contributor

    Very welcome. However I suggest to not to create ie9 polyfill. By letting the very small amount of people using obsolete browsers, giving them life jackets to continue doing so will lessen the chances of them upgrading to a more secure version of their current browser.

  5. gaearon commented on Jan 8, 2018

    @gaearon
    Contributor

    We ended up not doing anything—people opted into dropping those browsers by updating to React 16. Those who didn't want to could add polyfills themselves.

  6. locked and limited conversation to collaborators on Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions