Virtual DOM implementation that is the minimal clone of react js.
- Primitive diffing algorithm for updating only the changed components.
- The life cycle hooks implementation of class based components in
React
.
- It uses the most minimal form of diffing algorithm and maintains a tree to compare the various states.
- The project consists of the most common
to-do
list you can find in the internet, but it has been re-written in this version ofvirtual dom
. - This doesn't support JSX like tags and has simple function based approach to create new elements. Just as
React.createElement
.
- You can also use it in your own project and play around with the features. Download the package by
npm i virtual-dom-implementation
- If you wish to make it better and add any kind of feature or see a bug that needs fixing, feel free to open PR. (Fork into your own and compare between forks)
- There is no magic in code! :)