TanStack / ranger

šŸ¤– Headless utilities for building range and multi-range sliders in React, Preact, Solid, Vue, Svelte and Angular
MIT License
753 stars 63 forks source link

Support for react@17.0.1 #22

Closed deadcoder0904 closed 1 year ago

deadcoder0904 commented 3 years ago

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

sevast1an commented 3 years ago

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 )

VulcanTech-io commented 2 years ago

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 commented 2 years ago

Iā€™m planning a Typescript rewrite for the entire library.

Tanner Linsley On Nov 11, 2021, 11:27 AM -0700, VulcanTech-io @.***>, wrote:

yarn (the package manager) just warns you and will still let you use it. I have no problems with the library using 17.0.2. But obviously this issue should be fixed. ā€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

VulcanTech-io commented 2 years ago

@tannerlinsley Need any help?

tannerlinsley commented 2 years ago

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

ParrotStone commented 2 years ago

Any updates on this issue?

sjbuysse commented 1 year ago

@tannerlinsley are you still planning on doing this?

tannerlinsley commented 1 year ago

Yep

Tanner Linsley Sent with Spark On Nov 9, 2022 at 8:10 AM -0800, sjbuysse @.***>, wrote:

@tannerlinsley are you still planning on doing this? ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

andrejcesen commented 1 year ago

You can use overrides in package.json to force spec for a specific dependency.

jeadys commented 1 year ago

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

VulcanTech-io commented 1 year ago

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

rkulinski commented 1 year ago

Also https://www.npmjs.com/package/@tanstack/react-ranger works.