This repo serves the work that is written in this Medium article - Create your own virtual DOM to understand it(part 2)
It is better if you follow the repo through the steps provided on that article.
For ease of understanding, the steps are divided in branches. Here are the branch names:
1-hyperscript-renderer
- show how to build DOM with hyperscript functions2-emoji-list-app
- create simple emojis list app with hyperscript3-dynamic-app-full-rerender
- add some dynamic content, so that you can see how app re-renders fully4-component-rendering
- introduce Components(like in ReactJS), and how we can make them autonomous5-implement-diffing
- implement "diffing" algorithm(almost like in ReactJS) to show the power of virtual DOM