mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f3bf2e4f51
Summary: react-native-windows currently needs to maintain a fork of TextNativeComponent to wire through a native-only prop for `isPressable`. The reason we do this on Windows is that we implement an optimization so we only attempt to hit test a virtual Text node if it is actually pressable, leading to significant perf improvement for pointer events (e.g., onMouseEnter / onMouseLeave) on Text. Changelog: [General][Added] - Native-only prop to optimize text hit testing on some RN platforms Reviewed By: JoshuaGross Differential Revision: D32564637 fbshipit-source-id: bf47c68d94a930d2c620cb3b1584355c5e412bd4