[REF] component: small cleanup

This commit makes it simpler to understand the way fibers are assigned
to nodes.
This commit is contained in:
Géry Debongnie
2021-11-25 11:13:48 +01:00
committed by Samuel Degueldre
parent cfcf2c6714
commit 2b565ce1b4
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -70,7 +70,6 @@ export class Fiber {
constructor(node: ComponentNode, parent: Fiber | null) {
this.node = node;
node.fiber = this;
this.parent = parent;
if (parent) {
const root = parent.root;