Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose prop to be able to send the enriched dictionary #989

Merged
merged 1 commit into from Dec 3, 2023

Conversation

Lespoir
Copy link
Contributor

@Lespoir Lespoir commented Dec 1, 2023

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.

Copy link

vercel bot commented Dec 1, 2023

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

@Lespoir
Copy link
Contributor Author

Lespoir commented Dec 1, 2023

@acro5piano could u give it a look please?

@acro5piano
Copy link
Owner

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

@acro5piano acro5piano merged commit c3b521d into acro5piano:main Dec 3, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants