mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
54a067e61e
Summary: Rewrites `splitLayoutProps`, which is only used by `ScrollView`. - Improve type safety by avoiding `DangerouslyImpreciseStyle`. - Avoid allocating objects when it is not necessary. - Avoid allocating a object enumeratig layout props by using a switch statement. Changelog: [Internal] Reviewed By: JoshuaGross, kacieb Differential Revision: D25097226 fbshipit-source-id: 2050c03b681024212c06a48b7eb05f28c14415f9