Skip to content

Deprecate Support for React 16 #8578

Closed
Closed

Description

@JasonStoltz

Rewritten by @tkajtoch

Summary

React 16 was released in 2017 and reached EOL in 2020. To be able to use modern React features, we can't continue to support it for much longer. We need to deprecate React 16 support in @elastic/eui and supporting dependencies soon.

Acceptance criteria

  • EUI and supporting dependencies (e.g., @elastic/eui-theme-borealis) should drop support for React 16
  • CI should be updated to not test against React 16 environments
  • EUI documentation and our repo's README should be updated to reflect React version compatibility
    • We should include a paragraph about the latest EUI version supporting React 16, and (rough) long-term React support deprecation plans

Activity

  1. added theissue type on Apr 9, 2025
  2. added
    meta
    on Apr 9, 2025
  3. JasonStoltz commented on Apr 9, 2025

    @JasonStoltz
    ContributorAuthor

    @tkajtoch As time allows, would you be able to fill in a description? I believe you shared some thoughts around the work would need to be done here.

  4. removed
    meta
    on May 1, 2025
  5. JasonStoltz commented on May 1, 2025

    @JasonStoltz
    ContributorAuthor

    @tkajtoch Can you fill this in please? Just a quick description of what we need to do on our end?

  6. changed the title [-][Stub] Deprecate Support for React 16[/-] [+]Deprecate Support for React 16[/+] on May 1, 2025
  7. JasonStoltz commented on Jul 1, 2025

    @JasonStoltz
    ContributorAuthor

    As part of this, need to catch up with support portal team to let them know that we're doing this.

  8. JasonStoltz commented on Jul 1, 2025

    @JasonStoltz
    ContributorAuthor

    Thought from Weronika: Potentially do a check during build time to fail fast -- Tomasz thinks this should be possible, but probably no mandatory. Edge case since we know folks in the company are not using React 16 and any new project wouldn't use it.

  9. tkajtoch commented on Jul 11, 2025

    @tkajtoch
    Contributor

    We've got a green light from @i-a-n to proceed with this deprecation

  10. self-assigned this
    on Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions