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

Not compatible with React v18 #81

Open
AndrewEastwood opened this issue Jun 3, 2023 · 1 comment
Open

Not compatible with React v18 #81

AndrewEastwood opened this issue Jun 3, 2023 · 1 comment

Comments

@AndrewEastwood
Copy link

Hiya! Seems this lib is not installing properly with React 18

npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!   peer react@"^18.0.0" from @testing-library/[email protected]
npm ERR!   node_modules/@testing-library/react
npm ERR!     dev @testing-library/react@"^13.3.0" from the root project
npm ERR!   22 more (focus-trap-react, rc-align, rc-motion, rc-slider, ...)
@AndrewEastwood
Copy link
Author

AndrewEastwood commented Jun 20, 2023

Seems it is not going to be fixed, however I went with the simple override at my package.json file:

"overrides": {
  "react-dropdown-aria": {
    "react": "$react",
    "react-dom": "$react-dom"
  }
}

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