RepoJournal
Meta

Meta

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

Pick a date

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

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

FAQ

What changed 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.
What should Meta teams do about it?
Review compiler output if you're using memo slots with conditional compilation • Test Android Pressable ripples with PlatformColor in your next RN upgrade • Verify image headers are flowing through on Android after next RN bump
Which Meta repositories shipped on May 21, 2026?
facebook/react, facebook/react-native

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.