mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
refactor of ReactComponentTreeHook to isolate dev methods
This commit is contained in:
1 parent
a190cfce29
commit
0e23042e4b
5 files changed
+393
-386
No files matched your search
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user