react-drag-to-select icon indicating copy to clipboard operation
react-drag-to-select copied to clipboard

Incompatible with React 19

Open jmielbrecht-symetrix opened this issue 11 months ago • 1 comments

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 :)

jmielbrecht-symetrix avatar Jan 24 '25 17:01 jmielbrecht-symetrix

Thanks for reporting that, we have this on our TODO plan (feel free to create PR if you want)

tomaszczura avatar Jan 24 '25 17:01 tomaszczura

This has been released - version 5.0.11

tomaszczura avatar Jun 27 '25 07:06 tomaszczura