Closed Lespoir closed 10 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-native-big-calendar | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 27, 2023 4:45pm |
@acro5piano Could you please take a look
@Lespoir Nice catch. Thanks for your contribution!
Context
Recently I discovered we are having some issues on week mode when passing a larger dataset of events. This issue is caused due HERE we are filtering 3 times the event list in each re-render.
Solution
Now when enabling the enrichedEvents through the prop
enableEnrichedEvents
the lib will be using a new way to organize and render the events:Tests
Storybook
I adjusted the story named "Tons of sorted events" to show week mode and show one multi-day event