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 NATIVE FIXES CRITICAL IMAGE DIMENSION BUG, TYPESCRIPT 6 LANDS

By RepoJournal · Filed · About Meta

Image.getSize has been returning wildly wrong dimensions on Android for months — a fix just shipped that reads the actual encoded image instead of Fresco's downsampled bitmap.

The culprit: `Image.getSize` was reading dimensions from Fresco's decoded bitmap, which automatically downsamples large images to screen size [1]. A 4000x3000 image on a 1920x1080 device came back as 1920x1440. The fix switches to `fetchEncodedImage` to read true dimensions before any downsampling. If you've worked around this with manual dimension math, you can finally clean it up.

React Native also upgraded TypeScript to 6.0.3 [2] and aligned `typescript-eslint` across the codebase and Metro, preparing for the jump to TS 6.0 proper. This is internal-facing now but signals the team is moving fast — internal consistency before CLI template rollout.

On the stability front, a new C++ test landed that reproduces a use-after-free race in the Scheduler delegate during JS teardown , hardening the renderer pipeline. Separately, Pressability got a quiet bug fix: the hover-out timeout was being stored in the hover-in variable due to a copy-paste error , causing pointer and mouse events to behave differently.

Jest is patching holes in its own house. Two critical fixes shipped: reverting `node:` protocol imports that broke webpack and browser compatibility [3], and adding graceful fallback for test environments with older `moduleMocker` implementations that don't support `clearMocksOnScope` [4]. If your test setup feels fragile after recent Jest upgrades, these are your fixes.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix Image.getSize returning downsampled dimensions on Android (#56736) facebook/react-native
  2. [2] Upgrade TypeScript to ^6.0.3 (#56772) facebook/react-native
  3. [3] fix(expect): revert `node:` protocol imports to restore webpack/browser compatibility ↗ facebook/jest
  4. [4] fix: Support older test environments whose `moduleMocker` does not implement `clearMocksOnScope` (#16169) facebook/jest

Quick answers

What shipped in Meta on May 13, 2026?
Image.getSize has been returning wildly wrong dimensions on Android for months — a fix just shipped that reads the actual encoded image instead of Fresco's downsampled bitmap. In total, 29 commits and 3 pull requests landed.
Who contributed to Meta on May 13, 2026?
1 developer shipped this update, including jon-zawada.
What were the notable Meta updates?
Fix Image.getSize returning downsampled dimensions on Android (#56736), Upgrade TypeScript to ^6.0.3 (#56772), and fix(expect): revert `node:` protocol imports to restore webpack/browser compatibility.

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?