⛱ this is a quite simple react, just for fun!
- using
JSX
for elements - supporting funtional and class Components, as well as text Components and dom Components which are quiet normal for construct a dom tree
- passing props (which are the same as dom props) to drive the virtual dom changing, and this will change the dom tree meanwhile
- rendering an entire qsreact virtual dom to a real dom node just like react do
- state for class Component (actually I have tried to do this)
- to bind event handlers to the virtual dom automaticlly
- and more
build: yarn run build
wanna see how qsreact works and have a try? just yarn run dev:example