mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 22:43:10 +08:00
Summary: D3516692 incorrectly assumed that the Spacing object was immutable. This is not true as it can change in a measure pass on the shadow thread while the UI is displaying some other data. This fixes it to just pull the values we need and pass them instead of the object. Reviewed By: foghina Differential Revision: D3523004 fbshipit-source-id: 056baecf60a9c2f2494d173a3c60396a93b97d42