From 0ec1017660602d6b3ae84b4d7a444cbd49ba0d53 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Wed, 27 Dec 2017 17:38:21 -0800 Subject: [PATCH] Fixed double initial prop applying for newly created views Summary: This is a leftover from recent changes in D6595780 where a prop application step was moved out to separare mount block. Differential Revision: D6640736 fbshipit-source-id: 70de0f55f992a7912e222ec4bf9ade1c9bad99f2 --- React/Modules/RCTUIManager.m | 1 - 1 file changed, 1 deletion(-) diff --git a/React/Modules/RCTUIManager.m b/React/Modules/RCTUIManager.m index ef1c571f3aea90..27fa1556fe7a96 100644 --- a/React/Modules/RCTUIManager.m +++ b/React/Modules/RCTUIManager.m @@ -974,7 +974,6 @@ - (void)_manageChildren:(NSNumber *)containerTag } UIView *view = [componentData createViewWithTag:reactTag]; if (view) { - [componentData setProps:props forView:view]; uiManager->_viewRegistry[reactTag] = view; } });