{🧪} +paoloricciuti.svelte
@paolo.ricciuti.me
1.4K followers 430 following 1.8K posts
S1 | Developer | https://sveltelab.dev | Fat guy | Svelte Ambassador 🔶 | Svelte maintainer 🧡 | JavaScript Bender
Posts Media Videos Starter Packs
paolo.ricciuti.me
different in terms of philosophy, functionality and DX which is why I chose Svelte over it 😊
paolo.ricciuti.me
changes (namely await and remote functions) that we wanted to get out before creating content because they change pretty substantially how you build.

I also think that while on the surface Vue and Svelte are similar (and I would definitely use the former if I could use the latter) they are very
paolo.ricciuti.me
course is definitely something we could try to get out.

In the meantime @joyofcode.xyz definitely has the best information out there, he recently released a deep dive on svelte 5 and it's about to do the same for svelte kit.

Runes also unlocked the ability for us to do some pretty substantial
paolo.ricciuti.me
We are trying our best to document the best that we can in the official docs. I honestly don't see an extreme level of complexity added by svelte 5 but might be because you get quickly used to it.

The frontend master tutorial is there and it's not really updatable but I think having an official
paolo.ricciuti.me
`bind:group` actually never worked across multiple svelte component (and there's probably no way of make it work)...but overall I feel cross component experience is good...what are you missing?
paolo.ricciuti.me
Solid is clearly Noxt and svelte is clearly svext
paolo.ricciuti.me
Going live in 18 minutes or so! Join me and @reinhold.is for This Week in Svelte!

youtube.com/live/P8jdPBK...
paolo.ricciuti.me
I mean...just look at this. Please look at this and tell to my face svelte is not THE best framework. DO IT! 🧡
dummdidumm.bsky.social
Fun little interaction challenge: one select changes the options of another, which needs to load data depending on the first.

This is how you do it with the new Svelte APIs. Comfortably fits into one screenshot.
showing this code:

<script>
	import { getStates, getCities } from './data';

	const states = await getStates();
	let selectedState = $state(states[0]);

	const cities = $derived(await getCities(selectedState));
	let selectedCity = $derived(cities[0]);
</script>

<select bind:value={selectedState}>
	{#each states as state, idx}
		<option>{state}</option>
	{/each}
</select>

<select bind:value={selectedCity} disabled={$effect.pending()}>
	{#each cities as city}
		<option>{city}</option>
	{/each}
</select>

<p>Selection: {selectedCity}, {selectedState}</p>
paolo.ricciuti.me
Maybe someone will to test out remote functions for good 👀
paolo.ricciuti.me
Also you sound like the guy who would write in assembly because C is slow
paolo.ricciuti.me
Do you have any benchmark confirming data star is faster than svelte? Svelte is very close to vanilla JS without sacrificing DX in the slightest.
paolo.ricciuti.me
But that was the whole point of the post! You can use template literals, you can write your whole website in vanilla (saving even your 10kb once 😏) but it's completely unrelated to the post.

You prefer data star and it's absolutely fine, other people prefers svelte "complexity" for better DX!
paolo.ricciuti.me
The svelte MCP is finally (after a long battle with Github Actions) live on the official MCP registry!

registry.modelcontextprotocol.io/v0/servers/d...

(I know the page is not pretty but they didn't implement a fancy website for it yet lol)
registry.modelcontextprotocol.io
paolo.ricciuti.me
The point of the post was literally "Look in svelte I can just use {} inside a string instead of template literals" and your answer is "You can just use template literals".

Like wtf?
paolo.ricciuti.me
Yeah you need to have some sort of map
paolo.ricciuti.me
Right now, no, we (and by we I mean @ell.iott.dev) are working on a brand new Svelte feature that will allow you to create a `fetcher` that basically behaves like a remote function, but you define the URL to fetch
paolo.ricciuti.me
@kevinak.se has been killing it recently! Learn remote function from the man, the goat himself @dummdidumm.bsky.social !
paolo.ricciuti.me
I think you need a vite plugin to manage them (it's probably already existing or pretty easy to write).
paolo.ricciuti.me
I don't see why it shouldn't be possible... probably not super easy but definitely possible. Have you found some problems in svelte trying to implement it?
paolo.ricciuti.me
1400 followers! Thanks, everybody, for willingly deciding to hear about Svelte 90% of my posts 😅
paolo.ricciuti.me
That should be fine...it might also be a bug in SvelteKit...if you find a way to consistently reproduce, please open an issue 🙏🏻