3 ms·
I argued for a similar case last year[1], however the missing piece right now is updating state in a clean way. Web Components definitely won't replace current
by Andrex 8y ago
I argued for a similar case last year[1], however the missing piece right now is updating state in a clean way. Web Components definitely won't replace current front-end frameworks, but combined with ES Modules the web is getting to a good place for resuable primitives. :)
[1] https://andrewrabon.com/the-case-for-react-like-web-components-63887335fe41 https://andrewrabon.com/the-case-for-react-like-web-componen...
- westbrookjo 8y agoBe sure to checkout lit-html and LitElement (https://lit-html.polymer-project.org https://lit-html.polymer-project.org & https://lit-element.polymer-project.org https://lit-element.polymer-project.org)...what you've written about here already exists!
- threeaccents 8y agoAlso give StencilJS a look. It's a compiler instead of a framework or library. The end result is pure vanilla components https://stenciljs.com/ https://stenciljs.com/