Skip to content

Commit aa8469f

Browse files
authored
[DevTools] Rename mountFiberRecursively/updateFiberRecursively (#30586)
This is just for clarity at first. Before: - mountFiberRecursively accepts a set of children and flag that says whether to just do one - updateFiberRecursively accepts a fiber and loops over its children - unmountFiberChildrenRecursively accepts a fiber and loops over its children After: - mountFiberRecursively accepts a Fiber and calls mountChildrenRecursively - updateFiberRecursively accepts a Fiber and calls updateChildrenRecursively - unmountFiberRecursively accepts a Fiber and calls unmountChildrenRecursively - mountChildrenRecursively accepts a set of children and loops over each one - updateChildrenRecursively accepts a set of children and loops over each one - unmountChildrenRecursively accepts a set of children and loops over each one So now there's one place where things happens for the single item and one place where we do the loop.
1 parent ed94ea1 commit aa8469f

File tree

1 file changed

+170
-142
lines changed
  • packages/react-devtools-shared/src/backend/fiber

1 file changed

+170
-142
lines changed

0 commit comments

Comments
 (0)