question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Currently, react-virtualized has a peer dependency on react and react-dom that constraints it to React 16. From my experiments, it already seems to work with React 17 so this might be as simple as just bumping the bounds.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:58
  • Comments:11

github_iconTop GitHub Comments

29reactions
tbrdcommented, Mar 12, 2021

Would be lovely to get this merged

28reactions
stheinecommented, Feb 4, 2021

This is getting more important when using React 17 and upgrading to npm 7.x, as there is a breaking change about the peer dependency resolution, resulting in

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!   react-virtualized@"9.22.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

the workaround is using --legacy-peer-deps, but it would be great if react-virtualized would officially support React 17.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React v17.0 – React Blog
React 17 supports the new JSX transform. We've also backported support for it to React 16.14.0, React 15.7.0, and 0.14.10.
Read more >
React | endoflife.date
React is an open-source JavaScript web framework for building modern web applications. Release, Released, Active Support, Security Support, Latest. 18.2, 6 ...
Read more >
React 18 Upgrade Guide and New Features - Refine Dev
render() API supported in React 17; you will see this warning. Typically, we import a component and render it inside a div element...
Read more >
Try React 17 now— learn what's new in v17 and what does it ...
Support the react team — with finding bugs. Tell React's team if you run into problems prior to release that can break production...
Read more >
How to install next-js with react 17? - Stack Overflow
If you've already created the project: remove new versions: npm uninstall next react react-dom @types/react @types/react-dom.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found