RepoJournal
Meta

Meta

React, React Native, and Jest - the open source under what Meta ships

Keep up with Meta in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript AI / ML Full archive →

The Wire · Showcase

REACT COMPILER SILENTLY DROPS RESOURCE CLEANUP CODE

By RepoJournal · Filed · About Meta

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].

One email a day. Unsubscribe in one click.

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).

More from Meta

Daily updates, in your inbox

Follow Meta

Keep up with Meta in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.