mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
94969edf7c
Summary: ShadowTree commits happen concurrently with limited synchronization that only ensures the correctness of the commit from ShadowTree perspective. At the same time artifacts of the commit () needs to be delivered (also concurrently) to the proper thread and executed in order (not-concurrently). To achieve this we need some synchronization mechanism on the receiving (mounting) side. This class implements this process. Practically, this diff fixes a problem with glitching UI during the very first render of Fabric screen. Reviewed By: JoshuaGross Differential Revision: D15021794 fbshipit-source-id: 62982425300c515e92b91e1e660b45455a5446e9