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 STOPS LEAKING PHANTOM IMPORTS, NATIVE GAINS PLATFORM COLOR SUPPORT

By RepoJournal · Filed · About Meta

The React compiler is now cleaning up after itself, while React Native's Android layer just got smarter about theme-aware ripples and image headers.

React's compiler was registering memo cache imports even when functions got discarded, leaving dead `import { c as _c }` statements in the output [1]. The fix clears these stale registrations in `applyCompiledFunctions`, shrinking generated code for any file that mixes compiled and uncompiled functions. On the Native side, Android's `Pressable` now supports `PlatformColor` for ripple effects [2], killing the invariant that forced numeric-only colors and making theme-aware touch feedback possible. Image headers that were being silently dropped on Android are now passed through correctly [3], fixing a silent data loss bug. Under the hood, React Native is consolidating its Kotlin migration with a mechanical port of `NativeViewHierarchyManager` from Java [4], and deprecating legacy `DefaultReactActivityDelegate` constructors that were already being ignored [5]. A scheduler fix clears pending tasks on error to prevent cascading failures [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [compiler] Don't emit spurious `import { c as _c }` for discarded functions (#36500) facebook/react
  2. [2] feat(Pressable): add support for PlatformColor and alpha (#56395) facebook/react-native
  3. [3] fix missing headers on image source in android (#56905) facebook/react-native
  4. [4] Migrate NativeViewHierarchyManager from Java to Kotlin (#56828) facebook/react-native
  5. [5] Deprecate legacy DefaultReactActivityDelegate constructors (#56906) facebook/react-native
  6. [6] Clear RuntimeScheduler queues on error (#56892) facebook/react-native

Quick answers

What shipped in Meta on May 21, 2026?
The React compiler is now cleaning up after itself, while React Native's Android layer just got smarter about theme-aware ripples and image headers. In total, 13 commits and 1 pull requests landed.
What were the notable Meta updates?
[compiler] Don't emit spurious `import { c as _c }` for discarded functions (#36500), feat(Pressable): add support for PlatformColor and alpha (#56395), and fix missing headers on image source in android (#56905).

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?