←back to thread

Svelte 5

(svelte.dev)
54 points yurivish | 5 comments | | HN request time: 0s | source
Show context
jph ◴[] No.41916242[source]
Awesome work & congratulations Rich and team. I'm a longtime Svelte user and advocate for Svelte over React and Vue. I'm glad to Svelte 5 growing in strength and finesse. In particular, the new runes and new snippets are both much appreciated.

IMHO you're on HN and reading this, and know about React or Vue, then give Svelte 5 a look. It's easy to pick up because Svelte uses all the HTML, CSS, and JS/TS that you already know. And Svelte 5 works with SvelteKit, which is a great framework for apps, including routers, caches, SSR, etc.

replies(1): >>41917642 #
1. queuep ◴[] No.41917642[source]
I’ve not used Svelte since it first came out, but what annoys me a bit is that all these frameworks whose USP is that they are simple, then time goes by and they all seem to add more complex stuff that I’m not sure it’s needed?

Vue was the same, vue 1 was simple and you could get going within minutes, svelte had the same feeling first time I used it, but now looking at version 5, it still looks simple, but seems to start leaning towards the same route vue took..

replies(3): >>41917793 #>>41918792 #>>41920251 #
2. pier25 ◴[] No.41917793[source]
I used Vue 2 for a number of years and see what you mean about Vue 3.

I don't think this is what happened with Svelte though. I never used v1 but v5 simplified and distilled a lot of things vs v3 (and v4 which was almost identical).

3. arcanemachiner ◴[] No.41918792[source]
I'm not very qualified to speak on the subject, but Svelte had (last I checked) the feature of not having a VDOM, meaning I was able to use generic JS libraries with it that did not require a implementation that was Svelte-only, as is the case with many such React and Vue libraries.

Personally, I like to stay as close to web standards as possible, instead of tying myself to specific implementations of specific addons for specific frameworks.

replies(1): >>41921435 #
4. jakelazaroff ◴[] No.41920251[source]
The charitable explanation is that a lot of it is needed; that there is an inherent complexity to this domain, and the relative simplicity they tout at launch is possible because they haven’t yet contended with real-world use.
5. alexrage ◴[] No.41921435[source]
I don't understand these points when lower in the discussion another user mentions: > Svelte-specific syntax

React is the closest to standard JS in my experience.