undom
undom copied to clipboard
🍩 1kb minimally viable DOM Document implementation
They are pretty small addition, which can easily be implemented.
I believe there are two edge cases when it comes to innerHTML support: 1) Remove childNodes of an element when setting innerHTML 2) Clear innerHTML from an element when inserting...
I understand you don't want to support serialization in this project which makes sense. However, when experimenting with the example recipe I've noticed an issue when serializing the document after...
Part of the reason I created #1 was I wondered about using this to render `d3`. I was reading the https://github.com/Olical/react-faux-dom/ source when I saw your Tweet about this project....
Not trying to sound snarky or unappreciative here. Purely from a place of ignorance and interest, what are the main benefits that this library would hold over an alternative like...
`document.createElement('foo')` doesn't exist in a vacuum. Outline what is, and is not, in scope. This would clarify what's meant by _minimally viable_ and save a lot of back-and-forth in issues/PRs....