react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

FlashList

Open nisseenn opened this issue 1 year ago • 12 comments

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/

nisseenn avatar Feb 01 '23 09:02 nisseenn

@Inbal-Tish @tautvilas @ethanshar ?

KrisLau avatar Apr 20 '23 18:04 KrisLau

Please, right now calendar list is having memory leak everytime I load events in it, please change to flashlist

pencilcheck avatar May 02 '23 08:05 pencilcheck

Dont know if this might help others, but we decided to try to swap the FlatList: https://medium.com/p/4885b420d2b2

nisseenn avatar May 02 '23 09:05 nisseenn

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.

pencilcheck avatar May 02 '23 12:05 pencilcheck

@nisseenn Doesn't work for AgendaList since it's a SectionList and also I have no clue where the AgendaList is extending the SectionList

KrisLau avatar May 02 '23 15:05 KrisLau

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 avatar May 22 '23 08:05 rahul2992

@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:

  • https://github.com/wix/react-native-calendars/issues/2227
  • https://github.com/wix/react-native-calendars/issues/2171
  • https://github.com/wix/react-native-calendars/issues/2212

KrisLau avatar May 22 '23 14:05 KrisLau

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.

stale[bot] avatar Sep 17 '23 05:09 stale[bot]

bump, i had to write my own Agenda (with Flashlist) and Expandable calendar.

NiharR27 avatar Nov 27 '23 10:11 NiharR27

@nisseenn Can you share your implementation of swapping the flat list with flash list?

aydahealth avatar Dec 30 '23 06:12 aydahealth

Would love this feature. Had to write my own AgendaList component.

imckain avatar Jan 27 '24 16:01 imckain

You might want to try https://github.com/marceloPrado/flash-calendar - a new package I built that natively supports Flash List 🙂

MarceloPrado avatar Feb 23 '24 14:02 MarceloPrado