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);
153
-
// this.children.push(newChild);
154
-
// return newChild;
155
-
// }
156
-
// }
157
-
158
69
module.exports=Tree
159
-
// module.exports = {
160
-
// Tree,
161
-
// UnfilteredTreeNode,
162
-
// };
163
-
164
-
165
-
166
-
167
-
// // print out the tree structure in the console
168
-
// // DEV: Process may be different for useState components
169
-
// // BUG FIX: Don't print the Router as a component
170
-
// // Change how the children are printed
171
-
// print() {
172
-
// console.log("current tree structure for *this : ", this);
173
-
// const children = ['children: '];
174
-
// // DEV: What should we push instead for components using hooks (it wouldn't be state)
175
-
// 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