remix logo

Hacker Remix

Svelte 5

59 points by yurivish 21 hours ago | 15 comments

jph 21 hours ago

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.

queuep 18 hours ago

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..

arcanemachiner 16 hours ago

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.

alexrage 10 hours ago

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.

arcanemachiner 4 hours ago

I was referring to how React and Vue have a whole internal virtual implementation of the DOM which prevents many vanilla JS libraries from working with them.

Svelte is built to not require this abstraction (VDOM), which increases the likelihood that it will work with other JS libraries out of the box.

jakelazaroff 13 hours ago

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.

pier25 18 hours ago

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).

asplake 18 hours ago

Having a play now with the tutorial [1] – works great!

[1] https://svelte.dev/tutorial/svelte/welcome-to-svelte

ChrisArchitect 19 hours ago

ayhanfuat 19 hours ago

Related discussion: Svelte 5 Released | 394 points by begoon 2 days ago | 235 comments | https://news.ycombinator.com/item?id=41889674