mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 14:48:25 +00:00
Summary: New `ShadowTree::synchronize` method allows to perform operations on ShadowTree without a risk of an unsuccessful commit. To make it happen, the `commitMutex_` is now recursive and `synchronize` acquires it before calling the callback. Using that we finally can implement reliable `constraintLayout`. Reviewed By: mdvacca Differential Revision: D10174281 fbshipit-source-id: 9864ebb5343d40e2da205272a834710f0ab730db