refactor of ReactComponentTreeHook to isolate dev methods

This commit is contained in:
Dominic Gannaway
2017-03-02 16:15:37 +00:00
parent a190cfce29
commit 0e23042e4b
5 changed files with 393 additions and 386 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ function flattenSingleChildIntoContext(
'`%s`. Child keys must be unique; when two children share a key, only ' +
'the first child will be used.%s',
KeyEscapeUtils.unescape(name),
ReactComponentTreeHook.getStackAddendumByID(selfDebugID)
(ReactComponentTreeHook: any).getStackAddendumByID(selfDebugID)
);
}
}