File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -533,5 +533,7 @@ module.exports = {
533
533
AsyncLocalStorage : 'readonly' ,
534
534
async_hooks : 'readonly' ,
535
535
globalThis : 'readonly' ,
536
+
537
+ RN$Bridgeless : 'readonly' ,
536
538
} ,
537
539
} ;
Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ export const enableAsyncActions = false;
82
82
83
83
export const alwaysThrottleRetries = false ;
84
84
85
- export const useMicrotasksForSchedulingInFabric = false ;
85
+ const isBridgeless : boolean =
86
+ typeof RN$Bridgeless !== 'undefined' && ! ! RN$Bridgeless ;
87
+
88
+ export const useMicrotasksForSchedulingInFabric = isBridgeless ;
86
89
export const passChildrenWhenCloningPersistedNodes = false ;
87
90
export const enableUseDeferredValueInitialArg = __EXPERIMENTAL__ ;
88
91
export const disableClientCache = true ;
Original file line number Diff line number Diff line change 7
7
* @flow
8
8
*/
9
9
10
+ // eslint-disable-next-line no-unused-vars
11
+ declare const RN$Bridgeless: boolean ;
12
+
10
13
declare module 'ReactNativeInternalFeatureFlags' {
11
14
declare export var alwaysThrottleRetries : boolean ;
12
15
declare export var enableComponentStackLocations : boolean ;
You can’t perform that action at this time.
0 commit comments