114 wires and counting
$ status: archived — this briefing has stopped; the archive stays readable. browse live briefings →

$ status

wire 2026-07-08
stories 26

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

REACT COMPILER SILENTLY DROPS RESOURCE CLEANUP CODE

By RepoJournal · Filed · About Meta · Composed from the cited sources · methodology

The React compiler has been stripping dispose calls from functions using explicit resource management declarations, potentially causing memory leaks in production.

The compiler's BuildHIR handler treats `using` and `await using` declarations as plain const memoization, dropping the implicit cleanup calls entirely with no diagnostic warning [1]. This same bug exists in the Rust port, meaning it affects both TypeScript and JavaScript compilation paths. In parallel, Fast Refresh is remounting components incorrectly when you edit between wrapper kinds like memo or forwardRef, crashing with 'Component is not a function' because the state preservation check only compared hook signatures [2]. React Native cleaned up a podspec collision where ScrollView sources were declared twice across two subspecs, causing duplicate entries after pod install [3]. The team also formalized the `react-native/setup-env` secondary export to replace the undocumented InitializeCore path [4], and added a direct-event fast path to EventTarget dispatch that skips the full W3C event-path walk for events like onLayout that never bubble [5].

Action items

References

  1. [1] [compiler] Bail out with Todo on using and await using declarations ↗ facebook/react
  2. [2] [Fast Refresh] Remount correctly when an edit changes the component kind ↗ facebook/react
  3. [3] fix(podspec): remove duplicate scrollview subspec in React-FabricComponents (#57452) ↗ facebook/react-native
  4. [4] Expose 'react-native/setup-env' to replace InitializeCore (#57461) ↗ facebook/react-native
  5. [5] Add direct-event fast path to EventTarget dispatch (rnIsDirect) (#57448) ↗ facebook/react-native

Quick answers

What shipped in Meta on July 8, 2026?
The React compiler has been stripping dispose calls from functions using explicit resource management declarations, potentially causing memory leaks in production. In total, 20 commits and 6 pull requests landed.
Who contributed to Meta on July 8, 2026?
2 developers shipped this update, including poteto and sophiebits.
What were the notable Meta updates?
[compiler] Bail out with Todo on using and await using declarations, [Fast Refresh] Remount correctly when an edit changes the component kind, and fix(podspec): remove duplicate scrollview subspec in React-FabricComponents (#57452).