Skip to content

Latest commit

 

History

History

phaseD

Phase D

setup node

From this point forward, everything is very specific to the react ast renderer, but the basic concepts remain the same.

Steps

Create node type

Replace element used for root element

The most critical element to get things working is the root element, since it is required to create the root fiber

Interesting Files

src/types.ts

src/elements/BaseElement.ts

src/elements/File.ts

Demo

npm run start