TanStack/ranger

Support for react@17.0.1

deadcoder0904 opened this issue · 12 comments

I get the following error when I try to npm install react-ranger:

Could not resolve dependency:
npm ERR! peer react@"^16.6.3" from react-ranger@2.1.0

Can you update the peerDependencies section & release a new version?

https://github.com/tannerlinsley/react-ranger/blob/d912f893d2efb125d271162e36ee8531b5fd4f39/package.json#L35-L37

Yeah, I also have this issue (( installed it with force and it's not working as it should, on point drag it refreshes the page ((( please update for the new react version. Also maybe it will be possible to add a new prop -> disable overlap for Handles ( I think it should be available as an option) @tannerlinsley )

yarn (the package manager) just warns you and will still let you use it. (If you don't want to use force) I have no problems with the library using React 17.0.2. But obviously this issue should be fixed.

@tannerlinsley Need any help?

I mean, I can always use help! The roadmap is this:

  • Clone the next branch from github.com/tannerlinsley/react-location as a starting point
  • Replace all react-location stuff with react-ranger including home page, documentation, examples
  • Migrate all of the existing react-ranger code from JS to TS
  • 🚢

Any updates on this issue?

@tannerlinsley are you still planning on doing this?

jeadys commented

It has been over 2 years, are there any updates? Trying to use this with react 18.2.0

It has been over 2 years, are there any updates? Trying to use this with react 18.2.0

I use it with react@latest with no problems