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

Radix-UI Themes React Peer Dependency for 16 Locked to 16.8 #555

Open
lgirma opened this issue Jul 30, 2024 · 0 comments
Open

Radix-UI Themes React Peer Dependency for 16 Locked to 16.8 #555

lgirma opened this issue Jul 30, 2024 · 0 comments

Comments

@lgirma
Copy link

lgirma commented Jul 30, 2024

In the package.json for the Radix-UI Themes package the react (and react-dom) peer dependency is specified as:

"react": "16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",

Only the version for 16 is missing the ^ character and thus is locked to that specific 16.8 version. So, one cannot use react 16.9 or later versions (16.x)

Our project depends on react version 16.14 which is a later version than the one specified there. And thus npm install will fail.

Is there a reason for the specific version lock or can we amend it using the ^ version specifier?

Regards,

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

No branches or pull requests

1 participant