News for hackers. Stuff that matters.
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.
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...
Re:Svelte 5 is not JavaScript by mdhb on Tuesday February 18, 2025 @04:22PM (#43095278)
Right and Lit is that exact framework and it’s amazing.