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

mightyiam/snabbdom-decontextify

Repository files navigation

snabbdom-decontextify

Build Status codecov

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 the tagName part.
  • key
  • text
  • children and the same for the children, recursively.

See test for example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published