diff --git a/lib/externals/src/shopify.ts b/lib/externals/src/shopify.ts index 4df4865..a0da848 100644 --- a/lib/externals/src/shopify.ts +++ b/lib/externals/src/shopify.ts @@ -25,7 +25,6 @@ export let FlashList: typeof import('@shopify/flash-list') = proxify( null, null, null, - // TODO: Decouple? ImportTrackerModuleId, ]).or( // TODO: Remove when stable > 340206+ @@ -38,9 +37,32 @@ export let FlashList: typeof import('@shopify/flash-list') = proxify( null, null, null, - // TODO: Decouple? ImportTrackerModuleId, ]), + ).or( + withDependencies([ + ReactModuleId, + ReactNativeModuleId, + ReactJSXRuntimeModuleId, + null, + null, + null, + null, + null, + null, + ]), + ).or( + // [React, JSXRuntime, (Platform), (FlashListExports), (Reanimated), (RNBottomSheet), (BottomSheet)] + withDependencies([ + ReactModuleId, + ReactJSXRuntimeModuleId, + null, + null, + null, + null, + null, + null, + ]), ), ) .keyAs('revenge.externals.Shopify.FlashList'),