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 Fragments leak listeners as refs re-attach

By RepoJournal · Filed · About Meta

A subtle React bug is piling up event listeners when Fragment refs re-attach with a fresh identity on each render.

React pushed a fix for a listener-leak in Fragment refs: an inlined ref callback gets a new identity every render, so React marks the Ref flag and re-attaches, but the matching detach was missing, letting event listeners accumulate [1]. The PR lands a test that characterizes the issue and the fix during the mutation phase [2]. In the same 24 hours, React Native shipped a breaking docs rework that renames `__doc__` to `__docs__` and drops two superseded docs [3]. More urgently, Animated had a bug where `value.addListener(cb)` stopped firing forever after any bound component unmounted, even with the value still alive and animating; that's now fixed so user-registered listeners survive detach [4]. Android devs get a new `InspectorNetworkReporter` integration point so third-party networking stacks can surface CDP and Web Performance events in the DevTools Network panel [5]. Jest's runtime continues its Node-parity march, keying ES modules by full URL and sharing modules between overlapping graphs, which alone is worth pulling for anyone hitting ESM cache collisions [6]. SimenB also fixed `sandboxInjectedGlobals` binding under `injectGlobals: false` [7] and matched Node's behavior for `"type": "commonjs"` packages, `module.children`, and `data:` URIs [8].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [Fiber] Detach Fragment refs during the mutation phase ↗ facebook/react
  2. [2] [Fiber] Detach Fragment refs during the mutation phase (#37326) facebook/react
  3. [3] docs(swiftpm): rename __doc__ to __docs__, drop two superseded docs, correct the rest (#58006) facebook/react-native
  4. [4] fix(animated): keep user-registered listeners when an Animated node detaches (#57941) facebook/react-native
  5. [5] Expose InspectorNetworkReporter integration point to Frameworks (Android) (#58012) facebook/react-native
  6. [6] fix(jest-runtime): key ES modules by full URL and share modules between overlapping graphs ↗ facebook/jest
  7. [7] fix(jest-runtime): bind `sandboxInjectedGlobals` to the right values ↗ facebook/jest
  8. [8] fix(jest-runtime): match Node for "type": "commonjs" packages, module.children and data: URIs ↗ facebook/jest

Quick answers

What shipped in Meta on August 20, 2026?
A subtle React bug is piling up event listeners when Fragment refs re-attach with a fresh identity on each render. In total, 16 commits and 4 pull requests landed.
Who contributed to Meta on August 20, 2026?
7 developers shipped this update, including eps1lon, Christian Falch, Bao Nguyen, Alex Hunt, Peter Abbondanzo, Jakub Piasecki, and SimenB.
What were the notable Meta updates?
[Fiber] Detach Fragment refs during the mutation phase, [Fiber] Detach Fragment refs during the mutation phase (#37326), and docs(swiftpm): rename __doc__ to __docs__, drop two superseded docs, correct the rest (#58006).

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?