4.0.0 • Published 5 years ago

snabbdom-decontextify v4.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

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.

4.0.0

5 years ago

3.0.1

6 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago