A framework for building native applications using React
Pressability: Setup Insertion Effect Experiment (#54292)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54292 Sets up a feature flag to experiment with using `useInsertionEffect` in `Pressability`, instead of `useEffect. Using `useInsertionEffect` enables `Pressability` to behave more predictability in component trees with `<Activity mode="hidden">` because the events are scheduled more similarly to platform controls (e.g. focus and blur events will still fire even when "hidden"). Changelog: [Internal] Reviewed By: javache Differential Revision: D85612742 fbshipit-source-id: c2faab25bfcf7f964521e680eb3c4132c1087ef4
T
Tim Yung committed
3f971d931c236cf92e390e52a1b275ce95de64fa
Parent: c029032
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 10/28/2025, 7:27:37 PM