mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This is another perf-critical place where using traitCast should help with perf. After this change we practically will not have any `dynamic_cast`s (except those which will be delited (with methods where they are used) in the future diffs). Changelog: [Internal] Fabric-specific internal change. Reviewed By: sammy-SC Differential Revision: D20052029 fbshipit-source-id: 63b589d3c3322f0afd72f18b4701fe31d0e05c2f