Skip to content

herber/morphist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP] Morphist

A tiny dom morphing library

Morphist diffs read dom nodes. We don't use a vdom, because the dom is really efficient at everything we need.

Install

$ npm install morphist

Usage

const morphist = require('morphist');
const bel = require('bel');

const tree = html`<div>hello</div>`;
document.body.appendChild(tree);

morphist(tree, html`<div>hello world</div>`);

Alternatives

License

MIT © Tobias Herber

About

⚡️🎭 [WIP] Tiny dom morphing library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published