SvelteKit remote functions are now available under an experimental flag. Docs here: svelte.dev/docs/kit/rem...
31.07.2025 21:13 β π 70 π 13 π¬ 1 π 2@svelte.dev.bsky.social
Web development for the rest of us. See also: - community: @sveltesociety.dev - starter pack: https://bsky.app/starter-pack/did:plc:nlvjelw3dy3pddq7qoglleko/3l6ucetngs423 - feed: https://bsky.app/profile/paolo.ricciuti.me/feed/svelte-feed
SvelteKit remote functions are now available under an experimental flag. Docs here: svelte.dev/docs/kit/rem...
31.07.2025 21:13 β π 70 π 13 π¬ 1 π 2long overdue but we made the SvelteKit router more type-safe. docs for `resolve(...)` and `asset(...)` at svelte.dev/docs/kit/$ap...
24.07.2025 20:19 β π 143 π 11 π¬ 3 π 0now available for your on-demand viewing pleasure
24.07.2025 20:54 β π 25 π 6 π¬ 0 π 0Async Svelte is coming! github.com/sveltejs/sve...
29.04.2025 05:28 β π 187 π 32 π¬ 6 π 11For those of you who have been wondering if and when the videos of Svelte Summit 2025 Barcelona will be freely available, we just published a blog post about it: svelte.dev/blog/svelte-...
21.05.2025 13:32 β π 68 π 12 π¬ 1 π 1We just published an advisory for CVE-2025-32388, a moderate severity XSS vulnerability in SvelteKit. Please update to `@sveltejs/kit@2.20.6`.
The vulnerability affects applications that iterate over all search parameters inside a server `load` function. More details in the advisory π
you can now use .ts files in the playground:
svelte.dev/playground/7...
caveat: only supports erasable syntax (www.typescriptlang.org/docs/handboo...). under the hood this uses bloomberg.github.io/ts-blank-spa...
(note that typechecking/intellisense are TODO)
If you're using SvelteKit (or Svelte+Vite without SvelteKit) then we recommend updating your Vite version.
Note that the vulnerability only exists if you're doing `vite dev --host` (or `server.host: true`) on an untrusted network, which you're probably not. But update anyway
A screenshot of https://svelte.dev/playground/3de3a4446cd14bad884ea05fbd35363a?version=5.25.0 showing the new 'writable derived' feature
As of @svelte.dev 5.25 you can temporarily override a derived value, which is very handy for optimistic UI
β’ demo svelte.dev/playground/3...
β’ docs svelte.dev/docs/svelte/...
last chance to grab tickets at the lower price!
21.03.2025 18:08 β π 4 π 0 π¬ 0 π 0PSA for @svelte.dev users: we're planning to change how effect teardowns work to eliminate a common gotcha that affects signal-based frameworks. If the new behaviour would create problems for you, please let us know!
github.com/sveltejs/sve...
Now that speakers have been selected we want to share with you our line-up for Svelte Summit Spring 2025! We will host 16 talks across different topics during the two day conference. In addition, @mainmatter.com will also host a workshop. More details on www.sveltesummit.com
14.02.2025 10:21 β π 28 π 11 π¬ 0 π 6New in Svelte: A way to create a unique ID that is stable across client and server svelte.dev/docs/svelte/...
12.02.2025 14:37 β π 101 π 11 π¬ 3 π 2in case you missed it: the SvelteHack winners are up! many thanks to everyone who took part, and kudos to these outstanding projects in particular π
12.02.2025 14:22 β π 27 π 3 π¬ 0 π 0We've just sent out emails to everyone who submitted a proposal! Please read it carefully. See you at Svelte Summit Spring 2025!
28.01.2025 13:00 β π 34 π 7 π¬ 0 π 5....and that's a wrap for this year. Thanks for following along, everyone! There's a bunch of stuff that we didn't quite manage to squeeze in this month, so keep an eye out in 2025 for more good things.
Merry Christmas to all who celebrate!
screenshot of svelte.dev/playground showing the new `class` attribute handling
Day 24 β Svelte now handles `class` attributes with github.com/lukeed/clsx. Much more powerful than the `class:` directive, but since this is Svelte you still get dead code elimination of unused styles!
π docs svelte.dev/docs/svelte/...
π demo svelte.dev/playground/6...
for scripts, yes. i forgot to account for styles though β good catch! opened github.com/sveltejs/kit...
23.12.2024 17:23 β π 2 π 0 π¬ 1 π 0screenshot of svelte.dev/playground showing the new 'download app' option
Day 23 β you can now download your playground creations as SvelteKit apps! It'll even include any dependencies you've imported
π svelte.dev/playground
okay, kinda fixed mobile β you can tap the edges of the screen to control the snek. it'll do for now! going to go and do some christmas shopping
22.12.2024 18:02 β π 20 π 0 π¬ 2 π 0Downloadable Snake game built with SvelteKit and the new `bundleStrategy: 'inline'` option
Day 22 β you can now use the `bundleStrategy: 'inline'` option to build an entire SvelteKit app β code, styles, fonts, images, audio, and so on β into a single `.html` file that you can share on a floppy disk
π docs svelte.dev/docs/kit/con...
π demo svelte-snek.vercel.app (needs keyboard for now!)
Day 21 β hash-based routing for SvelteKit apps, for when you don't need (or can't run) a server. You can't use any server-side logic (including SSR), but other than, it's just like any other SvelteKit app
π docs svelte.dev/docs/kit/con...
π demo hash-based-routing.vercel.app
Day 20 β Vim mode! You can enable it in the playground and tutorial and it will remember your preference between visits. Don't worry, you can always quit by turning it off again (or closing the tab)
π svelte.dev/playground
Reminder: There are less than two weeks left to get a 20% discount on tickets for the next in-person Svelte Summit. Use the code sveltmas2024 at checkout or email us for group tickets. More details on the website. www.sveltesummit.com
19.12.2024 15:29 β π 11 π 3 π¬ 0 π 1π
19.12.2024 16:03 β π 9 π 0 π¬ 1 π 0a screenshot showing the new `output.bundleStrategy` option in SvelteKit. On the left, the updated svelte.config.js; on the right, a look at the resulting HTML
Day 19 β single-file bundles for SvelteKit. By default, your apps use code-splitting to ensure that you only load the code for the current page. But sometimes you need a single bundle for the whole app, and you can now do that with the new `bundleStrategy` option
π docs svelte.dev/docs/kit/con...
Day 18 β we've upgraded the playground so you can better understand how the compiler transforms your code. We plan to use this tool ourselves to improve the sourcemaps that Svelte generates
π svelte.dev/playground
Day 17 β until today, intellisense would often fail when you were in the middle of writing components, because Svelte's parser crashed on syntax errors.
We just fixed that. Install svelte@latest, make sure your extensions are up to date, and feel the wind in your hair as you write your components
note: you can migrate automatically using the following command
npx sv migrate app-state
Day 16 βΒ `$app/state`, a modern Svelte 5 state-based replacement for SvelteKit's `$app/stores` module. No more clunky `$` prefix when reading values, just fine-grained state that works everywhere, even outside component files!
π docs svelte.dev/docs/kit/$ap...
π tutorial svelte.dev/tutorial/kit...