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 ef1c571f3..27fa1556f 100644 --- a/React/Modules/RCTUIManager.m +++ b/React/Modules/RCTUIManager.m @@ -974,7 +974,6 @@ RCT_EXPORT_METHOD(createView:(nonnull NSNumber *)reactTag } UIView *view = [componentData createViewWithTag:reactTag]; if (view) { - [componentData setProps:props forView:view]; uiManager->_viewRegistry[reactTag] = view; } });