mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 17:30:38 +08: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