As of today, The React Native integration documentation recommends delaying application initialization until the mocks are loaded like so:
enableMocking().then(() => {
AppRegistry.registerComponent(appName, () => App)
})
However when using Expo App router the entry point of the application is internal to the library and not available to freely configure.
For apps using App Router, Expo recommends placing initialization code in the RootLayout file instead, but it would be helpful if there is an official recommendation from MSW on how avoid potential race conditions related to app initialization.