react-dropdown-aria icon indicating copy to clipboard operation
react-dropdown-aria copied to clipboard

Not compatible with React v18

Open AndrewEastwood opened this issue 2 years ago • 1 comments

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 avatar Jun 03 '23 14:06 AndrewEastwood

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"
  }
}

AndrewEastwood avatar Jun 20 '23 11:06 AndrewEastwood