mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Pass fabric flag from native to JS
Reviewed By: mdvacca Differential Revision: D7373722 fbshipit-source-id: 3cd051f38677900693f3da797effa11f9161df37
This commit is contained in:
committed by
Facebook Github Bot
parent
046d4cee8b
commit
cbb7c7c193
@@ -490,6 +490,9 @@ public class ReactRootView extends SizeMonitoringFrameLayout
|
||||
if (appProperties != null) {
|
||||
appParams.putMap("initialProps", Arguments.fromBundle(appProperties));
|
||||
}
|
||||
if (isFabric()) {
|
||||
appParams.putBoolean("fabric", true);
|
||||
}
|
||||
|
||||
mShouldLogContentAppeared = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user