Refactor cloneWithNewChildren method

Reviewed By: achen1

Differential Revision: D7064266

fbshipit-source-id: 71ef5651893359a257c39a5943812853f8d0dbcd
This commit is contained in:
David Vacca
2018-02-27 18:47:50 -08:00
committed by Facebook Github Bot
parent 84ef7bc372
commit ddcd609a86
3 changed files with 34 additions and 20 deletions
@@ -72,6 +72,8 @@ public interface ReactShadowNode<T extends ReactShadowNode> {
*/
T mutableCopy();
T mutableCopyWithNewChildren();
String getViewClass();
boolean hasUpdates();
@@ -164,8 +166,6 @@ public interface ReactShadowNode<T extends ReactShadowNode> {
T removeNativeChildAt(int i);
void removeAllChildren();
void removeAllNativeChildren();
int getNativeChildCount();