react-drag-to-select
react-drag-to-select copied to clipboard
Incompatible with React 19
I have a project at work that I'm attempting to update from React 18.3.1 to React 19.0.0. I'm getting errors because react-drag-to-select only specifies React versions 16-18 as compatible.
# npm resolution error report
Could not resolve dependency:
peer react@"16 - 18" from @air/[email protected]
node_modules/@air/react-drag-to-select
@air/react-drag-to-select@"5.0.10" from the root project
Conflicting peer dependency: [email protected]
node_modules/react
peer react@"16 - 18" from @air/[email protected]
node_modules/@air/react-drag-to-select
@air/react-drag-to-select@"5.0.10" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
It certainly is possible to continue the installation with --force, but just wanted to put this on your radar :)
Thanks for reporting that, we have this on our TODO plan (feel free to create PR if you want)
This has been released - version 5.0.11