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

fix: remove checks for Fabric that did not work #1518

Merged
merged 2 commits into from
Jul 7, 2022

Conversation

WoLewicki
Copy link
Member

@WoLewicki WoLewicki commented Jul 7, 2022

Description

As @tsapeta suggested, checking if Fabric is enabled in the top-level scope returns false so our checks did not change anything and therefore seem to not be needed. The only needed is in ReanimatedNativeStackScreen, and it was correctly resolved to true, but using the prop added to global by reanimated seems safer since we are in context of reanimated anyways. All the other checks were removed.

Test code and steps to reproduce

Build an app on Fabric and see that everything works the same.

@kkafar kkafar merged commit a453848 into main Jul 7, 2022
@kkafar kkafar deleted the @wolewicki/remove-js-fabric-checks branch July 7, 2022 11:35
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.

2 participants