rename unmountComponentAtNodeAndRemoveContainer -> unmountComponentAtNode

Reviewed By: achen1

Differential Revision: D7597730

fbshipit-source-id: d72a138b3fc82b09ab7b871089356d38c8405631
This commit is contained in:
David Vacca 2018-04-12 09:50:55 -07:00 committed by Facebook Github Bot
parent 5001b9f39e
commit 88139eb6e1
2 changed files with 2 additions and 2 deletions

View File

@ -1033,7 +1033,7 @@ public class ReactInstanceManager {
UiThreadUtil.assertOnUiThread();
if (rootView.isFabric()) {
catalystInstance.getJSModule(ReactFabric.class)
.unmountComponentAtNodeAndRemoveContainer(rootView.getId());
.unmountComponentAtNode(rootView.getId());
} else {
catalystInstance.getJSModule(AppRegistry.class)
.unmountApplicationComponentAtRootTag(rootView.getId());

View File

@ -13,6 +13,6 @@ public interface ReactFabric extends JavaScriptModule {
* JS method used to unmount Fabric surfaces.
* @param rootTag {@link int} react tag of Root {@link com.facebook.react.uimanager.ReactShadowNode}
*/
void unmountComponentAtNodeAndRemoveContainer(int rootTag);
void unmountComponentAtNode(int rootTag);
}