Skip to content
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

Add support for React 19 as a peer dependency #2188

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robknight
Copy link
Member

React 19 now has a stable release and so we can expect to see third-party apps using it.

Our packages specify that React ^18.2.0 is a supported peer dependency, but this excludes React 19. In initial testing it seems that our packages work with React 19, and so it should be listed as a valid peer dependency.

The effect on third-party developers is that they will be able to use our packages with React 19 without receiving warnings or errors from their package manager, and without having to override those warnings or errors (e.g. by using --force or --legacy-peer-deps with npm).

I've added a changeset for this, which can be used to version-bump the affected packages when this PR is accepted.

Copy link

linear bot commented Dec 20, 2024

@robknight robknight requested review from artwyman and rrrliu December 20, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant