3 ms·
Looks nice. Svelte is also <4kb, but it is compiled.
by turtlebits 6y ago
Looks nice. Svelte is also <4kb, but it is compiled.
- mizzao 6y agoWould be also interested in a deeper comparison to Svelte here.
- defx 6y agoThanks for your interest Mizzao. Svelte is a cool project, and the discussion RE buildtime vs runtime raise some great questions RE trade-offs. What I would say is that neither project would be the right choice for every use case. Svelte is very feature rich and provides more of a “batteries included” framework approach, whereas Synergy has a much smaller feature set and scope which leaves flexibility and choices in other areas. In this sense, Synergy is easier to compare feature-by-feature with a library of smaller scope such as Preact.
- thunderbong 6y agoI 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.
- BatteryMountain 6y agoSvelte also feel a lot like using Knockout which was/is great (although its not a full framework)!
- rhengles 6y agoI 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.