tiny-vdom
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

🪶 tiny-vdom

Hyper-lightweight Virtual DOM

tiny-vdom is intended to be the most lightweight virtual DOM implementation, and is a proof-of-concept and a learning resource more than a tool you should actually use in production.

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.

Readme

Keywords

none

Package Sidebar

Install

npm i tiny-vdom

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

12.6 kB

Total Files

11

Last publish

Collaborators

  • abai