Virtual dom implementation written by typescript.
# Directly install by npm is not suggested, it will checkout master branch by default
git clone [email protected]:ShZh-Playground/tiny-virtual-dom.git
npm install
npm run build
Then you can directly open example/index.html
in your browser to see the result.
To see more cases please check test/patch.spec.ts
. And Add your own demo in the example
folder.
We are glad and welcome if you want to share your demo by pull request.
🖖 Click Github projects to obtain more information.