You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// const newChild = new UnfilteredTreeNode(component);
151
-
// this.children.push(newChild);
152
-
// return newChild;
153
-
// }
154
-
// }
155
-
156
-
module.exports=Tree
157
-
// module.exports = {
158
-
// Tree,
159
-
// UnfilteredTreeNode,
160
-
// };
161
-
162
-
163
-
164
-
165
-
// // print out the tree structure in the console
166
-
// // DEV: Process may be different for useState components
167
-
// // BUG FIX: Don't print the Router as a component
168
-
// // Change how the children are printed
169
-
// print() {
170
-
// console.log("current tree structure for *this : ", this);
171
-
// const children = ['children: '];
172
-
// // DEV: What should we push instead for components using hooks (it wouldn't be state)
173
-
// this.children.forEach(child => { // if this.children is always initialized to empty array, when would there ever be anything to iterate through here?
0 commit comments