html-to-vdom icon indicating copy to clipboard operation
html-to-vdom copied to clipboard

Converts an HTML string into a virtual DOM

Results 9 html-to-vdom issues
Sort by recently updated
recently updated
newest added

Incorporates https://github.com/TimBeyer/html-to-vdom/pull/22 Added a few extra tests for more code coverage

[**virtual-dom**](https://github.com/Matt-Esch/virtual-dom) attribute names differ from basic HTML in two cases: - `for -> htmlFor` - `class -> className` **html-to-vdom** does not behave consistent about the subj. It automatically renames `for`...

html: ``; vtree property after html-to-vdom: ``` { "attributes": {}, "type": "text", "autoComplete": "off" } ``` node after `` vtree property after virtual-dom.h: ``` { "autocomplete": true, "type": "text", }...

It is using an ancient version (from 2015)

This library use abandoned package "ent" that use deprecated Node punycode module. Temporary solution: https://github.com/andreinwald/ent-replace