We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77445a commit 035e13aCopy full SHA for 035e13a
packages/react-native-performance/src/index.ts
@@ -10,9 +10,11 @@ import {
10
} from './resource-logger';
11
const { PerformanceObserver, addEntry, performance } = createPerformance();
12
13
-declare const global: { __turboModuleProxy: null | {} };
+declare const global: {
14
+ RN$Bridgeless?: boolean;
15
+};
16
-const isTurboModuleEnabled = global.__turboModuleProxy != null;
17
+const isTurboModuleEnabled = global.RN$Bridgeless;
18
19
const RNPerformanceManager = isTurboModuleEnabled
20
? require('./NativeRNPerformanceManager').default
0 commit comments