Optimize Calendar Performance
mainThe library provides several props to optimize rendering performance, especially when dealing with large datasets:
- Event Sorting:
sortedMonthView: Set totrueto sort events in month view (default).isEventOrderingEnabled: Set totrueto sort events in all views (default).eventsAreSorted: If your events are already sorted, set this totrueto skip the internal sorting process.
- Enriched Events:
enableEnrichedEvents: Set totrueto enable the enriched events logic.enrichedEventsByDate: Provide a pre-built dictionary of events indexed by date (Record<string, T[]>) to avoid the library building this dictionary internally.