bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.31k stars 3.05k forks source link

Unresolved Peer-Dependency with React 17 #1715

Closed cileria closed 1 year ago

cileria commented 2 years ago

Bug Report

$ npm install

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: webtools-app@1.0.0 npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! dev react@"^17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3 npm ERR! node_modules/react-virtualized npm ERR! dev react-virtualized@"^9.21.9" from the root project

What is the current behavior?

React 17 is out now since quite a while and the required React 15+ or React 16 Alpha are really old now. Still, react-virtualized requires to have them installed.

What is the expected behavior?

No peer dependency issues with React 17.

Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

Browser Chrome newest
OS Windows 10 Enteprise
React 17.0.2
React DOM 17.0.2
react-virtualized 9.22.3
ax0n-pr1me commented 2 years ago

Duplicate of #1711

cileria commented 2 years ago

Any news?

bvaughn commented 1 year ago

Version 9.22.4 has been published with peer dependencies updated to include React 17 and 18. (No other changes from 9.22.3)

https://github.com/bvaughn/react-virtualized/releases/tag/v9.22.4