←back to thread

Svelte 5 Released

(www.npmjs.com)
390 points begoon | 1 comments | | HN request time: 0.413s | source
Show context
fold_left ◴[] No.41894026[source]
I'm curious what users of Svelte think about https://qwik.dev, have many of you been tempted by it? There are a lot of similarities and both are great at keeping file sizes down with a great DX.
replies(1): >>41894073 #
aembleton ◴[] No.41894073[source]
I'm not a front end developer; so what I think about this might not be relevant to someone who works on front end every day. To me qwik looks like many other JS frameworks as far as the developer experience goes - it mixes up the HTML output into JS functions.

I really like the way that Svelte has a single file that encapsulates the HTML, CSS and JS for a page and it does so as three seperate chunks of the svelte file. This means I just need to look at say blogPost.svelte to see everything I need and I don't need to think about namespaceing or BEM or anything else for the CSS.

Its this way of working with Svelte that I really like and rarely see from other frameworks. I find astro to be good for this too.

replies(1): >>41894668 #
1. fold_left ◴[] No.41894668[source]
I agree, that's a really nice feature of Svelte. It can be done in .astro files from https://astro.build/ too but Svelte is the first place I saw it done, like you say, it's very nice to work that way.