mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
rename unmountComponentAtNodeAndRemoveContainer -> unmountComponentAtNode
Reviewed By: achen1 Differential Revision: D7597730 fbshipit-source-id: d72a138b3fc82b09ab7b871089356d38c8405631
This commit is contained in:
parent
5001b9f39e
commit
88139eb6e1
@ -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());
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user