mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a1f6b4d0ef
Summary: Found that we may do multiple allocations of the same ViewManager instance since ViewManagers are both accessed from the UI thread (mounting views) and from the Fabric background thread (for measuring Text), which could lead to multiple instances of the same ViewManager to be created. As far as I can tell, this issue was harmless since our ViewManager constructors don't have side-effects, but not ideal. Changelog: [Internall] Reviewed By: rshest Differential Revision: D43661306 fbshipit-source-id: 37ef82d41d43c334fdc6cfbeffb225bba87c668e