Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always enable TurboModuleExample for RN Tester
Summary: For some reason the turbomodule example inside RN Tester was not enabled by default. I'm enabling it. Changelog: [Internal] - Always enable TurboModuleExample for RN Tester Reviewed By: cipolleschi Differential Revision: D39381821 fbshipit-source-id: 711c20a51a2f3b274f1b9396d00898b0f60a6f86
- Loading branch information
54e50ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was to avoid showing the example when web debugging, since it would just crash in that case.
54e50ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it was because we have no way to turn off TM on Android. Should we add it?
54e50ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's probably fine. Back when the default for RNW Playground was web debugging (it no longer is), I remember this example being a point of contention because it would crash in the default case. RNW did not have logic to disable web debugging when TMs were used in RNTester. But that is not an issue anymore.