Apply latest shadow view workflow description (#23485)
Summary: Apply latest shadow view workflow description [iOS] [Fixed] - Apply latest shadow view workflow description Pull Request resolved: https://github.com/facebook/react-native/pull/23485 Differential Revision: D14121276 Pulled By: cpojer fbshipit-source-id: 128158a560dddd6dbb7213368410c3f36818b5fb
This commit is contained in:
Родитель
9126add6b9
Коммит
a6fde5d846
|
@ -22,7 +22,7 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
|
|||
* 1. A node is in one of three lifecycles: uninitialized, computed, dirtied.
|
||||
* 1. RCTBridge may call any of the padding/margin/width/height/top/left setters. A setter would dirty
|
||||
* the node and all of its ancestors.
|
||||
* 2. At the end of each Bridge transaction, we call collectUpdatedFrames:widthConstraint:heightConstraint
|
||||
* 2. At the end of each Bridge transaction, we call layoutWithMinimumSize:maximumSize:layoutDirection:layoutContext
|
||||
* at the root node to recursively lay out the entire hierarchy.
|
||||
* 3. If a node is "computed" and the constraint passed from above is identical to the constraint used to
|
||||
* perform the last computation, we skip laying out the subtree entirely.
|
||||
|
|
Загрузка…
Ссылка в новой задаче