mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
08a59c59e0
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