6.0.0 • Published 6 years ago

mostly-dom v6.0.0

Weekly downloads
24
License
MIT
Repository
github
Last release
6 years ago

Mostly DOM

A Type-Safe virtual-dom implementation. A virtual-dom implementation that works for you.

Mostly DOM is a virtual-dom implementation that provides strong types for everyday things like CSS values and HTML properties, you will be able to use itellisense to make your life easier. Say goodbye to a great deal of spelling mistakes.

Let me have it

npm install --save mostly-dom

Basic Usage

import { init, elementToVNode, h } from 'mostly-dom';

const patch = init([]);
const rootElement = document.querySelector('#app')

if (!rootElement) throw new Error('Unable to find root element')

const initialVNode = elementToVNode(rootElement);
const vNode = h('div', [ h('h1', 'Hello, World') ]);

patch(initialVNode, vNode);
6.0.0

6 years ago

5.0.0

6 years ago

4.4.0

6 years ago

4.3.0

7 years ago

3.6.3

7 years ago

3.6.2

7 years ago

4.2.0

7 years ago

4.1.0

7 years ago

3.6.1

7 years ago

4.0.0

7 years ago

3.6.0

7 years ago

3.5.0

7 years ago

3.4.0

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.5.0

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago