File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { View } from 'react-native';
7
7
type LocalGlobal = typeof global & Record < string , unknown > ;
8
8
9
9
export function isFabric ( ) {
10
- return ! ! ( global as LocalGlobal ) . _IS_FABRIC ;
10
+ return ! ! ( global as LocalGlobal ) . RN$Bridgeless ;
11
11
}
12
12
13
13
export type ShadowNodeWrapper = {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const AnimatedScreen = Animated.createAnimatedComponent(
25
25
// We use prop added to global by reanimated since it seems safer than the one from RN. See:
26
26
// https://github.com/software-mansion/react-native-reanimated/blob/3fe8b35b05e82b2f2aefda1fb97799cf81e4b7bb/src/reanimated2/UpdateProps.ts#L46
27
27
// @ts -expect-error nativeFabricUIManager is not yet included in the RN types
28
- const ENABLE_FABRIC = ! ! global ?. _IS_FABRIC ;
28
+ const ENABLE_FABRIC = ! ! global ?. RN$Bridgeless ;
29
29
30
30
const ReanimatedNativeStackScreen = React . forwardRef <
31
31
typeof AnimatedScreen ,
You can’t perform that action at this time.
0 commit comments