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
Copy file name to clipboardExpand all lines: src/backend/controllers/createTree.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ import {
32
32
* @param currentFiberNode A Fiber object
33
33
* @return An instance of a Tree object
34
34
*/
35
-
// TODO: Not sure why the ritd need to be outside of the _createTree function. Want to put inside, but in case this need to be keep track for front end.
35
+
// TODO: Not sure why the ritd need to be outside of the _createTree function. Want to put inside, but in case this need to be keep track for front end.
@@ -192,7 +192,7 @@ export default function createTree(currentFiberNode: Fiber): Tree {
192
192
// ---------OBTAIN STATE & SET STATE METHODS FROM CLASS COMPONENT-----------
193
193
// Check if currentFiberNode is a stateful class component when user use setState.
194
194
// If user use setState to define/manage state, the state object will be stored in stateNode.state => grab the state object stored in the stateNode.state
195
-
// Example: for tic-tac-toe demo-app: Board is a stateful component that use setState to store stat
195
+
// Example: for tic-tac-toe demo-app: Board is a stateful component that use setState to store state data.
// Save component's state and setState() function to our record for future time-travel state changing. Add record index to snapshot so we can retrieve.
0 commit comments