4.0.0 • Published 6 years ago
snabbdom-decontextify v4.0.0
snabbdom-decontextify
decontextify(vnode: VNode) => VNode
Returns a clone of the provided VNode tree, that has no context.
A VNode that has no context (decontextified) has only
sel; only thetagNamepart.keytextchildrenand the same for the children, recursively.
See test for example.