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

refactor: enforce ReanimatedModule load before first isFabric call #6836

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tjzel
Copy link
Collaborator

@tjzel tjzel commented Dec 19, 2024

Summary

So we wouldn't have initialization order issues anymore. I kept _IS_FABRIC in global because we depend on it in our examples and runtime tests.

In a follow up PR we could add the optimization that isFabric() is called only once when necessary.

Test plan

Run the Example app and bare BokehExample.

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.

1 participant