Re:Svelte 5 is not JavaScript
by luketheobscure on Tuesday February 18, 2025 @12:21PM
(#43092382)
Honest question - have you ever tried to use the actual web components API? It very much feels like a set of primitives to build a framework on top of. I can't imagine the amount of boiler plate you would need to write to just use web components.
[ Parent
| on HN ]
Re:Svelte 5 is not JavaScript
by breadwinner on Tuesday February 18, 2025 @12:28PM
(#43092490)
With a simple 500-line lib you can write Web Components just like React, here's an example: https://github.com/wisercoder/uibuilder/blob/master/WebCompo...