Skip to content

Conversation

jzempel
Copy link
Member

@jzempel jzempel commented Aug 19, 2024

Description

This PR gets the peer dependency ranges on react and react-dom dialed-in for v9. The previous >=16.8.0 notation accurately includes everything since React hooks. However, some package managers incorrectly report React 18 (for example) as an invalid peer. The updated ^16.8.0 || ^17.0.0 || ^18.0.0 or will satisfy all package managers. More importantly, the top end of the range is capped at v18 so Garden can manage the addition of future React versions after testing.

Copy link
Contributor

@ze-flo ze-flo left a comment

Choose a reason for hiding this comment

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

Should react-containers be updated as well?

@jzempel
Copy link
Member Author

jzempel commented Aug 19, 2024

Should react-containers be updated as well?

Yeah, good call

@jzempel jzempel merged commit 5fd9152 into next Aug 19, 2024
@jzempel jzempel deleted the jzempel/react-peers branch August 19, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants