The Wire · Showcase
REACT NATIVE FIXES LAUNCH CRASHES, CLEANS UP EVENT DISPATCHING
By RepoJournal · Filed · About Meta
Fresh React Native projects were redboxing on launch due to module initialization race conditions, but a critical fix just landed that bootstraps Metro properly from InitializeCore.
The biggest story overnight is the Metro bootstrap fix [1] that resolves the "Module has not been registered as callable" crash developers hit on fresh app launches. This wasn't some edge case - new projects were failing immediately with whichever callable module happened to initialize first, whether HMRClient or RCTDeviceEventEmitter. Alongside that, React Native removed the enableDirectEventsInEventTarget feature flag [2], collapsing direct event dispatch paths now that EventTarget-based dispatching is stable. The team also removed SceneTracker entirely [3], moving navigation scene tracking to the application layer where it actually belongs instead of living as a buried utility module. On the DevTools side, React fixed a prerendering race in the browser extension proxy [4] where the content script was reconnecting unconditionally while pages prerendered, unlike the initial connection path that already guards with prerenderingchange events. React Native also resolved a persistent Dependabot failure [5] where concurrent-ruby versions below 1.3.7 kept failing security checks across all Gemfiles.
Action items
- → Update React Native to pick up the Metro bootstrap fix for launch crashes facebook/react-native [immediate]
- → Review your direct event dispatch code as the feature flag is now inlined to true facebook/react-native [plan]
- → If you use SceneTracker, migrate scene tracking to your application layer facebook/react-native [plan]
References
- [1] Bootstrap Metro from InitializeCore until setup-env is graph-reachable (#57557) facebook/react-native
- [2] Remove enableDirectEventsInEventTarget feature flag (#57528) facebook/react-native
- [3] Remove SceneTracker module and its use in AppRegistry (#57417) facebook/react-native
- [4] [DevTools] Don't reconnect proxy port while page is prerendering ↗ facebook/react
- [5] Fix Dependabot security update for concurrent-ruby in react-native (#57355) facebook/react-native