mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Include instanceHandle in cloning mechanism
Reviewed By: shergin, achen1 Differential Revision: D8072075 fbshipit-source-id: 2fcfdfa5116850ce0bac6c2c86d87e5bf00fd7f0
This commit is contained in:
committed by
Facebook Github Bot
parent
40c7248345
commit
23fbd312aa
@@ -71,13 +71,13 @@ public interface ReactShadowNode<T extends ReactShadowNode> {
|
||||
/**
|
||||
* @return a mutable copy of the {@link ReactShadowNode}
|
||||
*/
|
||||
T mutableCopy();
|
||||
T mutableCopy(long instanceHandle);
|
||||
|
||||
T mutableCopyWithNewProps(@Nullable ReactStylesDiffMap newProps);
|
||||
T mutableCopyWithNewProps(long instanceHandle, @Nullable ReactStylesDiffMap newProps);
|
||||
|
||||
T mutableCopyWithNewChildren();
|
||||
T mutableCopyWithNewChildren(long instanceHandle);
|
||||
|
||||
T mutableCopyWithNewChildrenAndProps(@Nullable ReactStylesDiffMap newProps);
|
||||
T mutableCopyWithNewChildrenAndProps(long instanceHandle, @Nullable ReactStylesDiffMap newProps);
|
||||
|
||||
String getViewClass();
|
||||
|
||||
@@ -373,4 +373,8 @@ public interface ReactShadowNode<T extends ReactShadowNode> {
|
||||
@Nullable ReactShadowNode getOriginalReactShadowNode();
|
||||
|
||||
void setOriginalReactShadowNode(@Nullable ReactShadowNode node);
|
||||
|
||||
long getInstanceHandle();
|
||||
|
||||
void setInstanceHandle(long instanceHandle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user