AgendaList not usable in production for bugs and performance
Description
When I click to a day in the week calendar, agendalist not always scroll to the selected date.
Moreover, even with your demo, in a plain react native project, I'll get the warning:
VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc. {"contentLength": 5105.45458984375, "dt": 525, "prevDt": 8066}
Expected Behavior
I'd expect AgendaList scrolling to specified date with acceptable performance.
Reproducible Demo
https://snack.expo.dev/ahLw7maIA
Try to play with date in the week calendar and AgendaList will stop to follow selected date
Having the same issue I think if someone can do a PR to replace the SectionList with a FlashList it would really help. I tried looking through the code but wasn't sure how to do it
Related:
- #2153
@francesco-clementi-92 @KrisLau
Could you please help me on this issue #2224
I need this issue fixed too :)
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.
Same issue here
Same issue
Hi folks, I created a PR solving this issue, please give it a look and let me know if I'm missing an edge case.
@Lespoir Looks great but not sure if i'm mistaken but that PR doesn't seem to be to this repo?
I am evaluate this component, when I follow the example AgendaList, saw same error, so one year passed since this post, the issue still exists, and I think the agenda data is not large, I am wondering whether should I use this component :(
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.