3 ms·
Exactly. The complaint in the article is that Web Components don't _also_ add a nice API fro creating DOM trees. This is true, but not relevant. The ideas of
by spankalee 10y ago
Exactly.
The complaint in the article is that Web Components don't _also_ add a nice API fro creating DOM trees.
This is true, but not relevant. The ideas of a component model and tree creation DSL are orthogonal.
Hyperscript (the JS library) is a nice API for creating DOM trees, that's similar to React's createElement(). You can use it with or without Web Components.