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

Migrate update on drag example #36

Closed rkulinski closed 1 year ago

rkulinski commented 1 year ago

@tannerlinsley I decided to drop getSegments feature. My reasoning is that since we want to be as agnostic as possible it doesn't make sense to keep that logic inside library. Ranger instance can provide all the data required to do calculation like that. Let me know what do you think.