Open nisseenn opened 1 year ago
@Inbal-Tish @tautvilas @ethanshar ?
Please, right now calendar list is having memory leak everytime I load events in it, please change to flashlist
Dont know if this might help others, but we decided to try to swap the FlatList: https://medium.com/p/4885b420d2b2
Dont know if this might help others, but we decided to try to swap the FlatList: https://medium.com/p/4885b420d2b2
Thanks! Scrolling is now very fast!! now i just need to figure out how to memoize the calendar component so it loads faster when scrolled to.
@nisseenn Doesn't work for AgendaList
since it's a SectionList
and also I have no clue where the AgendaList is extending the SectionList
We tried to use FlashList with calendar components as individual items. The performance on iOS is pretty good, but lots of whitespaces on android. I think it might be because react-native-calendars has key props in days and weeks.
@rahul2992 AgendaList
is still using SectionList
and it's having a ton of performance issues when there is a lot of items passed to it:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump, i had to write my own Agenda (with Flashlist) and Expandable calendar.
@nisseenn Can you share your implementation of swapping the flat list with flash list?
Would love this feature. Had to write my own AgendaList
component.
You might want to try https://github.com/marceloPrado/flash-calendar - a new package I built that natively supports Flash List 🙂
Description
is there any plans for this package to swap FlatList with FlashList to improve performance in future versions?:) https://shopify.github.io/flash-list/