mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +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();
|
UiThreadUtil.assertOnUiThread();
|
||||||
if (rootView.isFabric()) {
|
if (rootView.isFabric()) {
|
||||||
catalystInstance.getJSModule(ReactFabric.class)
|
catalystInstance.getJSModule(ReactFabric.class)
|
||||||
.unmountComponentAtNodeAndRemoveContainer(rootView.getId());
|
.unmountComponentAtNode(rootView.getId());
|
||||||
} else {
|
} else {
|
||||||
catalystInstance.getJSModule(AppRegistry.class)
|
catalystInstance.getJSModule(AppRegistry.class)
|
||||||
.unmountApplicationComponentAtRootTag(rootView.getId());
|
.unmountApplicationComponentAtRootTag(rootView.getId());
|
||||||
|
@ -13,6 +13,6 @@ public interface ReactFabric extends JavaScriptModule {
|
|||||||
* JS method used to unmount Fabric surfaces.
|
* JS method used to unmount Fabric surfaces.
|
||||||
* @param rootTag {@link int} react tag of Root {@link com.facebook.react.uimanager.ReactShadowNode}
|
* @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