Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 849 Bytes

File metadata and controls

24 lines (15 loc) · 849 Bytes

qsreact

Build Status

⛱ this is a quite simple react, just for fun!

features 👀

  1. using JSX for elements
  2. supporting funtional and class Components, as well as text Components and dom Components which are quiet normal for construct a dom tree
  3. passing props (which are the same as dom props) to drive the virtual dom changing, and this will change the dom tree meanwhile
  4. rendering an entire qsreact virtual dom to a real dom node just like react do

todos next 🗒

  1. state for class Component (actually I have tried to do this)
  2. to bind event handlers to the virtual dom automaticlly
  3. and more

build and run

build: yarn run build

wanna see how qsreact works and have a try? just yarn run dev:example