mirror of
https://github.com/react/react-native.git
synced 2026-11-05 05:18:55 +08:00
Summary: @public `Typeface` handling in `shadow/flat/CustomStyleSpan` wasn't very efficient. This diff introduces `TypefaceCache` to avoid allocating duplicated `Typeface`s. Reviewed By: sriramramani Differential Revision: D2564363