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
React 18 peer dependency errors from radix dependencies #2089
Comments
Hi @irl-dan, In the meantime, you can use the
|
Aha, thank you for the insight! Feel free to close this ticket if it just creates spam. I'll keep an eye on the linked issue in radix-ui. |
Looks like radix-ui released the change in 1.0.0! radix-ui/primitives#1329 (comment) Changelog: https://www.radix-ui.com/docs/primitives/overview/releases |
If on NPM > 8 you can use "overrides": {
"@aws-amplify/ui-react": {
"@radix-ui/react-accordion": "1.0.0",
"@radix-ui/react-dropdown-menu": "1.0.0",
"@radix-ui/react-slider": "1.0.0",
"@radix-ui/react-tabs": "1.0.0"
}
} |
@adilosa Thanks! Yes, we are working on upgrading to the 1.x release of the Radix UI components. Please follow this PR: #2411 |
Closes this since it was fixed by #2558 |
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Other
Please describe your feature-request in detail.
We're trying to use
@aws-amplify/ui-react
with the React 18 and we're seeing this is not supported:On
npm install
, with"react": "^18.0.0",
and"@aws-amplify/ui-react": "^2.19.1",
in our package.json dependencies, we get the following error:React 18 is the latest supported release of React and we'd love to see support for it from Amplify!
Please describe a solution you'd like.
This is a matter of upgrading the peerDependencies here:
amplify-ui/packages/react/package.json
Line 81 in 28bf92d
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: