4.0.0 • Published 5 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 thetagName
part.key
text
children
and the same for the children, recursively.
See test for example.