themes icon indicating copy to clipboard operation
themes copied to clipboard

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

Open lgirma opened this issue 6 months ago • 0 comments

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,

lgirma avatar Jul 30 '24 06:07 lgirma