Skip to content

Commit

Permalink
Fixed double initial prop applying for newly created views
Browse files Browse the repository at this point in the history
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
  • Loading branch information
shergin authored and facebook-github-bot committed Dec 28, 2017
1 parent 1fd7315 commit 0ec1017
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion React/Modules/RCTUIManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,6 @@ - (void)_manageChildren:(NSNumber *)containerTag
}
UIView *view = [componentData createViewWithTag:reactTag];
if (view) {
[componentData setProps:props forView:view];
uiManager->_viewRegistry[reactTag] = view;
}
});
Expand Down

0 comments on commit 0ec1017

Please sign in to comment.