githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

How to add current value in middle of range #127

Closed jamieGardyn closed 1 year ago

jamieGardyn commented 1 year ago

We have a low and a high value (min max) but is there anyway to have a render for the current value?

for instance...

min={1} max={15} value={10}

githuboftigran commented 1 year ago

@jamieGardyn , no... If we pass the value with props (like in TextInput for example), we would have to rerender every time a value is changed. This package is designed to be as fast as possible, with minimum rerenders.

jamieGardyn commented 1 year ago

Ok - but just fyi - my goal actually is for it to re-render every time the value changes.