mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate UIManagerModule.replaceExistingNonRootView
Summary: The method UIManagerModule.replaceExistingNonRootView will not be part of fabric. This diff deprecates it to avoid future usage before the migration. This can not be removed, as it is currently used from React-VR Reviewed By: shergin Differential Revision: D16420685 fbshipit-source-id: c534e2ee6371698638751f1482bb619db1569733
This commit is contained in:
committed by
Facebook Github Bot
parent
c7ee38149d
commit
a863949413
@@ -544,8 +544,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
* Replaces the View specified by oldTag with the View specified by newTag within oldTag's parent.
|
||||
* This resolves to a simple {@link #manageChildren} call, but React doesn't have enough info in
|
||||
* JS to formulate it itself.
|
||||
*
|
||||
* @deprecated This method will not be available in Fabric UIManager.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
public void replaceExistingNonRootView(int oldTag, int newTag) {
|
||||
mUIImplementation.replaceExistingNonRootView(oldTag, newTag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user