Skip to content

HTMLElement render method with incremental DOM update

Notifications You must be signed in to change notification settings

eliot-akira/html-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML render

HTMLElement render method with incremental DOM update

Include

The following adds a render method to HTMLElement.

require('html-render');

Use

var app = document.body.querySelector('app-root');

app.render( html );
app.render( newHtml );

This updates the DOM efficiently by rendering only the difference.

Based on

Incremental DOM

html-parse-stringify

html2IDOM (light version)

About

HTMLElement render method with incremental DOM update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages