NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Svelte 5 (svelte.dev)
jph 2 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.

ayhanfuat 1 hours ago [-]
Related discussion: Svelte 5 Released | 394 points by begoon 2 days ago | 235 comments | https://news.ycombinator.com/item?id=41889674
ChrisArchitect 45 minutes ago [-]
pier25 2 hours ago [-]
Congrats on the release and the new website. I've been using Svelte 5 for the last couple of weeks and I'm in love.
threatofrain 2 hours ago [-]
What's the difference between runes and signals?
jph 1 hours ago [-]
Svelte 5 runes are Svelte-specific syntax for the generic idea of JS signals such as found in SolidJS. Svelte runes are effectively compiler keywords.

Broadly speaking, runes are aiming to be higher level (e.g. pretty syntax to help developers declare state) whereas signals are lower level (e.g. how internal implement state dependencies).

Svelte runes, as a concept, are somewhat contentious among some developers. This is because runes make Svelte feel more like React or Vue, yet feel less simple. My opinion is that runes are a good/necessary step for building larger apps, even though it makes it a bit harder for novices.

2 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:01:28 GMT+0000 (Coordinated Universal Time) with Vercel.