Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nothing against you, but I swear Svelte is Rust of frontend tech. Whatever the topic, it always pops up out of nowhere.

idiot edit: not React, Rust.



Svelte pops up out of nowhere because people tend to really love it. Not sure how it's the "React of frontend tech" since React is a competing frontend framework (which is now moving to adopt a Svelte-like compiled approach).

I haven't used Vue (any version) so this wouldn't be the place I'd normally chime in about Svelte. People seem to love Vue as well.


> React is a competing frontend framework (which is now moving to adopt a Svelte-like compiled approach)

React has been moving in the direction of a compiled approach for over seven years now[1], predating Svelte’s first release. The introduction of hooks in 2018 grew out of early efforts on an optimizing compiler. Those earlier efforts were hampered by class semantics making things like constant folding across components difficult. React Forget seems like a predictable progression from there.

[1] https://github.com/facebook/react/issues/7323


I'm an idiot. I meant Rust :) Where people are enamored with tech enough to evangelize whenever and wherever they can on their own.


Interesting take. I get why people writing a certain class of programs love Rust, but I can assure you Svelte doesn't do much to ensure correctness of the front-end app. It's just way more ergonomic than React for the vast majority of small to mid-size projects, and probably large projects too.

Rust is also about 100X as difficult to learn as Svelte (assuming you have basic familiarity with front-end dev), and easier to learn than React as well. Speaking from personal experience.


You are discussing attributes of Rust that GP did not intend to compare with Vue. They are talking about the evangelistic user base.


That, but also because you interpreted a question to be a form of generalization.

The great thing about HN is you can easily see a users comments.


>which is now moving to adopt a Svelte-like compiled approach

Interesting. Is there a page where I can read more about this and the current progress?





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: