Skip to content

Latest commit

 

History

History

phaseA

Phase A

setup the reconciler

Steps

Create reconciler

For now we will just log each of the lifecycle methods

Create base element

Create render function

  1. initialize root element
  2. initialize root fiber reconciler.createContainer
  3. reconcile virtual dom reconciler.updateContainer

Interesting Files

src/reconciler.ts

src/render.ts

src/elements/BaseElement.ts

Demo

npm run start