Temzasse / react-modal-sheet

Flexible bottom sheet component built with Framer Motion to provide buttery smooth UX while keeping accessibility in mind 🪐
https://temzasse.github.io/react-modal-sheet/
MIT License
791 stars 75 forks source link

its too slow #57

Closed torref closed 2 years ago

torref commented 2 years ago

This library has many options, it is perfect, but it is very slow when there is a lot of data in it and it creates problems especially in the performance of other component.

can you fix that and update library ? 🙏

Temzasse commented 2 years ago

Please take a look at memoization if you have re-rendering problems, and you can utilize a windowing library if you have trouble with large amounts of data (eg. large lists).

If you have more details about performance issues related to this library please open a new issue with more info and a repro case 🙂