Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Latest commit

 

History

History
16 lines (8 loc) · 610 Bytes

vdom.md

File metadata and controls

16 lines (8 loc) · 610 Bytes

Using with Virtual DOM

Diaporama is easily interoperable with Virtual DOM libraries.

Diaporama is designed to be performant and that each property changes have the minimal impact (if a property doesn't change, nothing happens).

React

diaporama-react defines Diaporama for React.

Other Virtual DOM libraries

What you essentially have to do is to instanciate a Diaporama "on mount", to destroy() it "on unmount", and to affect properties to any props changes.

You can inspire from diaporama-react.