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
in step 4 Fiber, prevSibling.sibling = newFiber;, fiber is the argument and prevSibling is the variable inside the function. How does the sibling come into fiber? Thank you.
The text was updated successfully, but these errors were encountered:
To be honest, I don't think the author's approach is easy to understand. My treatment of sibling is if (i == 0) { fiber.children = newFiber } else { fiber.sibling = newFiber }
Specific can refer to:https://codepen.io/yilaikesi/pen/xxaYqLQ
in step 4 Fiber, prevSibling.sibling = newFiber;, fiber is the argument and prevSibling is the variable inside the function. How does the sibling come into fiber? Thank you.
The text was updated successfully, but these errors were encountered: