SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 155 C++

Downgrade offscreen Fabric image requests to prefetch (#56976)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56976

changelog: [internal]

Use Fabric layout data to classify image shadow nodes as visible or offscreen on Apple platforms. Offscreen image requests now use `ImageRequestPriority::Prefetch`, which is bridged to the existing `RCTImageLoaderPriorityPrefetch` API, while visible images stay at `Immediate`. The new React Native feature flag defaults to `false` until app-specific gating wires it up.

Reviewed By: javache

Differential Revision: D106074485

fbshipit-source-id: 80ece75cf0d639be1fdbfdd5f19b838b7b64aba6
S
Samuel Susla committed
5fbcc6bf89098b0f55c70621583302c0256a106c
Parent: ac81869
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 5/27/2026, 2:09:25 PM