We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e77f6 commit a545d5bCopy full SHA for a545d5b
src/isomorphic/hooks/ReactComponentTreeHook.js
@@ -43,24 +43,6 @@ function isNative(fn) {
43
}
44
45
46
-type Item = { // eslint-disable-line no-unused-vars
47
- element: ReactElement,
48
- parentID: DebugID,
49
- text: ?string,
50
- childIDs: Array<DebugID>,
51
- isMounted: bool,
52
- updateCount: number,
53
-};
54
-
55
-declare function getItem(id: DebugID): ?Item;
56
-declare function removeItem(id: DebugID): void;
57
-declare function setItem(id: DebugID, item: Item): void;
58
-declare function getItemIDs(): Array<DebugID>;
59
60
-declare function addRoot(id: DebugID): void;
61
-declare function removeRoot(id: DebugID): void;
62
-declare function getRootIDs(): Array<DebugID>;
63
64
var canUseCollections = (
65
// Array.from
66
typeof Array.from === 'function' &&
0 commit comments