Live data from Hacker News

Svelte is the most beautiful web framework I've seen

thefutureoftheweb.com

51–60 of 210 posts

Re: Svelte is the most beautiful web framework I've seen

#51

This is not a web-framework. It is an frontend app framework for html/javascript

This is not a car. It is an electricity-powered four-wheel vehicle. So yeah, it's a car.

This is not a PC. It is a Mac. So yeah, it's a personal computer.

A framework that powers the web, isn't it a web framework? It's just a very broad category that also includes backend framework.

Re: Svelte is the most beautiful web framework I've seen

#53
post #50

I like playing with different web frameworks, but the article had a bad hype:information ratio, so I googled the Svelte homepage, which I think is really well presented: https://svelte.dev/

> the article had a bad hype:information ratio That'd be 95% of all these dev.to articles

It's also on the author's blog: https://www.thefutureoftheweb.com/blog/svelte-is-the-most-be...

Re: Svelte is the most beautiful web framework I've seen

#54

I watched Rich Harris's "Rethinking reactivity" presentation ( https://www.youtube.com/watch?v=AdNJ3fydeao ) and was incredibly impressed. Has anyone with React/Vue experience used Svelte for a significant project? I'd love to hear about your experience with it.

Yeah - I wrote https://www.beyonk.com in Nuxt first, and I've now rewritten it in Svelte (Sapper).

There are some things which weren't ready when I started, but I worked around them. The overall experience is that Svelte results in faster pages, less code, more predictability, faster builds... overall, it's a better experience.

Re: Svelte is the most beautiful web framework I've seen

#55

I have a table of 100 rows x 10 columns mostly of numbers which change 10 times a second (think trading). The source data sits in an array of objects. On each update, I need to update the table cells with the latest values from the source array. The content of each cell can change, possibly it's css class too (from red it become blue for example). I'm using Vue/Bootstrap-Vue table at the moment, but it's quite slow.…

I have pretty much exactly this use case (think trading!).

I wrote a couple of hundred lines of vanilla JS. It works fine.

Re: Svelte is the most beautiful web framework I've seen

#56

Earlier quoted context omitted.

> But I also don't see why they couldn't have submitted a PR to react/angular/ember/meteor/vue. I see this sentiment a lot in open source. When I made Rollup — which is now used to build the most popular libraries in the JavaScript ecosystem, including some you just mentioned! — people asked why I didn't just submit a PR to webpack? I understand why people ask that. But it just doesn't work like that. Very often, to…

It's a shame that the site's down. Until then, you can (and I heartily recommend doing so) watch the "Rethinking reactivity" video here: https://www.youtube.com/watch?v=AdNJ3fydeao

You do realize that you replied to the very same person that's presenting in that video, right? :)

Re: Svelte is the most beautiful web framework I've seen

#57
post #30

I have a table of 100 rows x 10 columns mostly of numbers which change 10 times a second (think trading). The source data sits in an array of objects. On each update, I need to update the table cells with the latest values from the source array. The content of each cell can change, possibly it's css class too (from red it become blue for example). I'm using Vue/Bootstrap-Vue table at the moment, but it's quite slow.…

Seems to me that you'd want to update the part of the table that's viewable.

For a 100 x 10 table i would think you can get away with updating all of it.

Re: Svelte is the most beautiful web framework I've seen

#58
Let the "soap box brigade" commence!

I got introduced to Rich Harris via a podcast (not personally), but am a big fan of his perspective on JS. I think we can all agree that; if you don't like Svelte, then fine. If you love JSX/TSX - then great! If you're a Vue person, then awesome - its exactly what makes this community great - the diversity & innovation. Not the soap-boxing antics, polarised opinions & vilification of opinions that aren't congruent with your own.

As someone much wiser than me once said - "always bet on Javascript".

Re: Svelte is the most beautiful web framework I've seen

#59
post #24

Earlier quoted context omitted.

We should probably all just give up, eh?

We should probably settle . Other platforms afford a new UI framework maybe once a decade. The Web Frontend, already running on top of an apparently inadequate framework called "HTML5", somehow needs to be reinvented every year and it's a huge cost factor.

and this is exactly why I still drive a Ford Model-T.

Re: Svelte is the most beautiful web framework I've seen

#60
post #23

Earlier quoted context omitted.

> I've got trouble seeing how having one more framework to learn is going to help any thing. That's a good question. - Svelte makes far smaller files than React - Svelte is faster to execute than React - Svelte is easier to learn

Sounds like Vue.js to me...

Oddly, it's a lot like Vue.js, except pre-compiled with a simpler syntax. Vue3 is about to make some syntax changes which will make Vue.js a lot like Svelte... :)
Post reply on HN