From a6fde5d846eca5bca24edfeeae7f2910b1cbed49 Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Sun, 17 Feb 2019 15:04:44 -0800 Subject: [PATCH] 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 --- React/Views/RCTShadowView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Views/RCTShadowView.h b/React/Views/RCTShadowView.h index 07161f9cfdb1e3..8d9828cb98a6d1 100644 --- a/React/Views/RCTShadowView.h +++ b/React/Views/RCTShadowView.h @@ -22,7 +22,7 @@ typedef void (^RCTApplierBlock)(NSDictionary *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.