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

bump react, react-dom and ink versions to latest #519

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

Conversation

DekraIT
Copy link

@DekraIT DekraIT commented Jun 5, 2024

Description
This pull request updates the dependencies for react, react-dom, and ink to their latest versions.

Motivation
The update is necessary to resolve peer dependency issues encountered when using pnpm with React version 18.3.1. This ensures compatibility and smooth installation for projects utilizing the latest React version.

Context
pnpm enforces strict peer dependency resolution. If a project uses React 18 but one of its dependencies requires React 17, pnpm will flag this as a conflict, potentially preventing successful installation. By aligning the library's dependencies with the latest React version, this PR mitigates such issues.

The ink package needs to be updated as well, as it relies on an older version of react-reconcile, which is also problematic for dependency resolution with the latest React version.

@oblador
Copy link
Owner

oblador commented Oct 12, 2024

The bump of Ink breaks CJS support which is why I've held off upgrading it.

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.

2 participants