~/Projects/fre
git clone https://code.lsong.org/fre
Commit
- Commit
- 25430ad240d15e3b0f22bc30a21c35b4ad97e378
- Author
- 132yse <[email protected]>
- Date
- 2021-06-05 23:14:34 +0800 +0800
- Diffstat
src/reconciler.ts | 3 +--
emmm
diff --git a/src/reconciler.ts b/src/reconciler.ts index 60f16f065644a037fcf0fa0e8b6123bb8dc459c0..232b9a6af4083bc7fe1dfbb4ed42a47182427ce6 100644 --- a/src/reconciler.ts +++ b/src/reconciler.ts @@ -72,7 +72,7 @@ } } const finishWork = (WIP) => { - + // TODO: simlify this implemention let parent = WIP.parent if (parent) { if (!parent.first) { @@ -91,7 +91,6 @@ parent.first = WIP } parent.last = WIP } - return WIP } const updateHook = <P = Attributes>(WIP: IFiber): void => {