/tiny-vdom

🤏 Smallest possible virtual DOM implementation

Primary LanguageTypeScriptMIT LicenseMIT

tiny-vdom

Smallest possible virtual DOM implementation.

Note: If you're looking for something a bit more comprehensive, check out Million

Installation

npm install tiny-vdom

Usage

index.js

import { h, createElement, patch } from 'tiny-vdom';

const el = createElement(h('div'));

patch(el, h('div', null, 'Hello World!'), h('div'));

License

tiny-vdom is MIT-licensed open-source software by Aiden Bai.