$ the-wire · showcase
React Native's Babel preset stops dropping Platform.select side effects
By RepoJournal · Filed · About Meta · Composed from the cited sources · methodology
React Native's production transform no longer silently discards work hidden in the non-selected branches of Platform.select, and React DOM gains the one animation event prop it was missing.
fix(babel-preset): preserve Platform.select initializers (#58350) facebook/react-native
The Babel preset narrows Platform.select({...}) down to the selected property during production transforms, but JavaScript evaluates every object property initializer before the call, so side effects sitting in ios or android branches that were not chosen ran at build-time semantics the runtime never intended. The fix preserves those initializers instead of collapsing the object, which matters ...
[DOM] Add support for `onAnimationCancel` (#37609) facebook/react
onAnimationCancel now exists as a DOM prop, sitting alongside onAnimationStart, onAnimationIteration, and onAnimationEnd. React apps that previously attached an animationcancel listener by hand in an effect can drop the manual wiring.
[Flight & DevTools] Strip the whole "async " prefix from V8 stack frame names (#37608) facebook/react
V8 prints async call sites as "async outerName" in stacks, and parseStackTraceFromChromeStack was slicing five characters off a six-character prefix, so the parsed frame name arrived with a leading space. Flight and DevTools stack frames will now carry the bare function name, which cleans up owner and component name resolution derived from frame text.
Cover `react/nativemodule/core` with Stable API guards (#58327) facebook/react-native
react/nativemodule/core:core is now classified as a public target under the C++ stable API three-tier visibility model, with UmbrellaGuard.h added to its 8 exported headers and a new React/NativeModuleCore.h umbrella wired through BUCK, CMake, and CocoaPods. Native module authors building on the stable API get a declared, guarded surface instead of an unclassified internal one.