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 DEVTOOLS FIXES NESTED HOC UNWRAPPING BUG

By RepoJournal · Filed · About Meta

A regex state bug in React DevTools was cutting off component name extraction after the first HOC layer, leaving deeply wrapped components unidentifiable in the inspector.

The extractHOCNames helper was using the g flag on exec() without resetting lastIndex between iterations [1] [2]. When unwrapping nested HOCs like Forget(Memo(Button)), the function would correctly strip the outer layer, but then fail to continue because lastIndex pointed past the end of the now-shorter string. This fix restores visibility into components wrapped by multiple higher-order functions, critical for debugging complex component trees in production apps. On the React Native front, ArrayBuffer support lands in Java TurboModules [3], giving native Android modules direct access to binary data without conversion overhead. The team also swept out dead code, removing the unused NativeModalManager spec and 13 related files [4]. Jest caught up on dependency maintenance [5] [6] with SimenB resolving lingering deprecation warnings across the test suite.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] DevTools: Fix nested HOC name extraction in extractHOCNames ↗ facebook/react
  2. [2] DevTools: Fix nested HOC name extraction in extractHOCNames (#37215) facebook/react
  3. [3] ArrayBuffer support to Java TurboModules facebook/react-native
  4. [4] Remove unused NativeModalManager spec and all related code (#57806) facebook/react-native
  5. [5] chore: update some more deps ↗ facebook/jest
  6. [6] chore: update tstyche ↗ facebook/jest

Quick answers

What shipped in Meta on August 7, 2026?
A regex state bug in React DevTools was cutting off component name extraction after the first HOC layer, leaving deeply wrapped components unidentifiable in the inspector. In total, 11 commits and 3 pull requests landed.
Who contributed to Meta on August 7, 2026?
5 developers shipped this update, including Biki-das, Kamil Paradowski, Christoph Purrer, Peter Abbondanzo, and SimenB.
What were the notable Meta updates?
DevTools: Fix nested HOC name extraction in extractHOCNames, DevTools: Fix nested HOC name extraction in extractHOCNames (#37215), and ArrayBuffer support to Java TurboModules.

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?