[](https://travis-ci.org/adrianhelvik/fragdom) [](https://coveralls.io/github/adrianhelvik/fra
npm install @adrianhelvik/fragdom

Fragdom is a thin wrapper around the DOM that adds fragment nodes.
It is implemented in preparation for a virtual DOM library.
The idea is that you should be able to replace usage of the real DOM
with this library and get the addition of fragment nodes.
With normal DOM, you can create document fragments, but these do not
become child nodes of an element they are inserted into. Instead
the child nodes are moved to the new element.
The core differences with Fragdom is that you getfragdom.createFragment() and that DOM updates don't take effect
before you call .reconcile() on an element (or one of its parents).
.reconcile() on the element.If you want the DOM updates to be applied in the next animation frame,
you can call .reconcileAsync().
.realNode getter onIf the node has not been reconciled, accessing this property throws
an error.
$, it is considered an instance attribute.This is to simplify reconciliation of instance attributes.
https://unpkg.com/@adrianhelvik/fragdom/example.html