SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

VirtualView: Minimize Events w/ Render State (#52245)

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

Changes `VirtualView` to avoid dispatching redundant mode change events by reading the last committed `renderState` to determine whether the desired render state is already in effect.

This enables `VirtualView` to avoid dispatching synchronous `Visible` mode change events when a previous `Prerender` mode change event has already been committed.

Changelog:
[Internal]

Reviewed By: lunaleaps

Differential Revision: D77271865

fbshipit-source-id: 75418aec1416995737f308a1beff407f2cedb940
T
Tim Yung committed
08a59c59e09fe3b92824e55d98cb7961d138a4ea
Parent: fbd44ad
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 6/25/2025, 9:18:52 AM