The Wayback Machine - https://web.archive.org/web/20200919140201/https://github.com/herber/morphist
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

[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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.