RepoJournal
Meta

Meta

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

Pick a date

Topics: JavaScript AI / ML Full archive →

The Wire · Showcase

REACT NATIVE FIXES BACKGROUND DEADLOCK THAT FREEZES APPS

By RepoJournal · Filed · About Meta

RedBox auto-retry was reloading backgrounded apps and deadlocking the main thread until the watchdog killed them.

React Native shipped a critical fix [1] that gates the RedBox auto-retry timer so it doesn't fire while your app sits in the background. The problem was surgical: a reload while backgrounded would reinitialize native modules, and any module requiring main-queue setup would dispatch synchronously onto a main queue already blocked inside that reload, creating an unbreakable deadlock until the system killed the app. This lands as a patch, not a major release, so pull it immediately if you ship to production. Separately, React Native added TypeScript declarations for requestIdleCallback and cancelIdleCallback [2], closing a gap where these APIs existed at runtime but weren't typed. The New Architecture got native implementations of these in 0.75, while the legacy stack has used JS-timer versions since 2016. Two smaller fixes also landed: a revert of an internal change [3] and a correction to JS sampling profiler error handling [4] that prevents attempting to stop a profiler that never started.

Action items

References

  1. [1] Pause RedBox auto-retry reload while app is backgrounded (#57593) facebook/react-native
  2. [2] Add TypeScript declarations for requestIdleCallback and cancelIdleCallback (#57545) facebook/react-native
  3. [3] Revert D112116429 (#57591) facebook/react-native
  4. [4] Propage startJSSamplingProfiler error (#57587) facebook/react-native

Quick answers

What shipped in Meta on July 18, 2026?
RedBox auto-retry was reloading backgrounded apps and deadlocking the main thread until the watchdog killed them. In total, 4 commits landed.
Who contributed to Meta on July 18, 2026?
4 developers shipped this update, including Peter Abbondanzo, Szymon Kozioł, Ruslan Lesiutin, and Pieter De Baets.
What were the notable Meta updates?
Pause RedBox auto-retry reload while app is backgrounded (#57593), Add TypeScript declarations for requestIdleCallback and cancelIdleCallback (#57545), and Revert D112116429 (#57591).

More from Meta

Daily updates, in your inbox

Follow Meta

React, React Native, and Jest — the open source under what Meta ships We'll email you a link to confirm first.

Free. Confirm via email. Unsubscribe in one click.

— or follow the whole beat:

Elsewhere on the wire