Skip to content

Deprecate support for React 16 #8868

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

Merged
merged 10 commits into from
Jul 21, 2025
Merged

Conversation

tkajtoch
Copy link
Member

@tkajtoch tkajtoch commented Jul 15, 2025

Summary

Resolves #8578

This PR removes React 16 from peerDependencies and removes related CI steps running tests against React 16 environments.

Why are we making this change?

React 16 reached end-of-life over 4 years ago and no actively maintained projects still use it with modern versions of @elastic/eui internally.

Impact to users

This change doesn't break EUI compatibility with React 16, however, due to dropped support, no further changes will be tested against React 16.

Please upgrade to a modern version of React. If you can't do it immediately, consider v106.0.0 the last EUI version compatible with React 16.

QA

  • Confirm no CI steps related to React 16 run on this PR

@tkajtoch tkajtoch self-assigned this Jul 15, 2025
@tkajtoch tkajtoch added dependencies PRs that update a dependency file tech debt labels Jul 15, 2025
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @tkajtoch

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @tkajtoch

@tkajtoch tkajtoch marked this pull request as ready for review July 17, 2025 18:04
@tkajtoch tkajtoch requested a review from a team as a code owner July 17, 2025 18:04
Copy link
Contributor

@mgadewoll mgadewoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Code changes LGTM and CI passed. Thanks for cleaning up legacy support! 🎉

🟢 Tested manually that the following are working as expected:

  • ✅ run and build Storybook
  • ✅ run and build website
  • ✅ run tests yarn test-ci
  • ✅ build EUI
  • ✅ compile eui icons yarn compile-icons
  • ✅ local release (using docker registry)
  • ✅ EUI works as expected in Kibana (installed local packages and ran test:type_check but not CI)

@tkajtoch tkajtoch merged commit 14efaca into elastic:main Jul 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PRs that update a dependency file tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate Support for React 16
3 participants