News for hackers. Stuff that matters.
Re:Show HN: I built a 4kb alternative to React, Vue, etc for... by thunderbong on Friday January 08, 2021 @03:19AM (#25682714)
I also feel that Svelte has taken the best of many worlds.

Most front-end Javascript frameworks rely on either declarative widgets or some contrived implementation of HTML / CSS with a build step to get the developer's code to render in the browser.

Svelte's approach to sticking extremely close to traditional HTML / CSS & JS, and then compiling everything together, in my opinion, makes it much more approachable and maintainable.

Re:Show HN: I built a 4kb alternative to React, Vue, etc for... by rhengles on Friday January 08, 2021 @12:07PM (#25686843)
I think Rich Harris is to front-end as John Carmack is to games development, and no doubt Svelte is a marvel of technology, however I dispute the notion that it is more close to "traditional html / js / css" than either React or Vue. For example, most frameworks use webpack which extend es6 module syntax in a way that they don't work natively in the browser without compilation, and I don't think Svelte is any better than them in this regard.
Re:Show HN: I built a 4kb alternative to React, Vue, etc for... by BatteryMountain on Friday January 08, 2021 @10:13AM (#25685436)
Svelte also feel a lot like using Knockout which was/is great (although its not a full framework)!