avishain / react-native-range-slider-expo

Customizable range slider for react native apps
MIT License
29 stars 12 forks source link

Slow rendering #14

Closed Ghassanee closed 3 years ago

Ghassanee commented 3 years ago

RangeSlider is rendering slow . I also tested it in a simple app and it's still slow.

Thanks!

avishain commented 3 years ago

It is slow because of the responsiveness. Since it waits for the initial layout to happened and then calculated the initial knobs position values according to layout width. Once the bridge will be destroyed and JSI will take place I assume it will be much faster on Android (ios I assume is already renders fast now). If you want to try to tackle it now PRs are more than welcome :)