Closed Lespoir closed 7 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 | Dec 1, 2023 3:39pm |
@acro5piano could u give it a look please?
@Lespoir Thanks! It would be great if you write a document about enrichedEvents
to README so that newcomers can understand what it refers to. Anyway, I'll accept this PR and create a new version soon.
Context
We've implemented a mechanism to leverage an internally optimized algorithm along with a dictionary for more efficient event rendering. Nevertheless, there are instances when the host app prefers to construct this dictionary independently, such as when handling it within a background job.
Solution
The library now exposes a prop to accept the enrichedEvents dictionary. When enableEnrichedEvents is activated, the library attempts to utilize this new property. If the dictionary is not provided, it gracefully falls back to constructing it internally.