You could always clone it and run it locally!
Posts by Didier Catz
Unsolicited tip: you can even do this:
<div style:transform="translate({x}px, {y}px)"> ... </div>
I doubt it. It's a SvelteKit feature (not a Svelte feature), but you can always just make remote fucntions call to your 3rd party API.
Give me a recipe for a lemon pie
You didn’t! Just leaving in case there’s any context missing to other readers (these automatically get cross posted to the Discord)
Vercel doesn't own Svelte. They just pay a few folks to work on Svelte full-time. It's independent.
www.reddit.com/r/sveltejs/c...
Appreciate you & the team asking for feedback from the community!
(This goes for all deriveds)
This one I'm not 100% sure on but I believe this should be let, not const:
const noTasks = $derived(tasks.length === 0);
Additionally, $state and $derived runes can just have their types normally annotated. No need to pass a generic
`export const store = $state<TaskBoxState>(initialState)`
↓ can be ↓
`export const store: TaskBoxState = $state(initialState)`
First thing I saw when clicking around was this;
In Svelte, you can just do this:
<label for="title-{task.id}">
<input id="title-{task.id}">
No need to do string interpolation with brackets and backticks.
The work that the Svelte team is doing is, in my opinion, the most exciting thing in web dev. Not only is what they’re putting out transformative and so, so, so well designed, but they’ll announce some huge new thing coming out “in the future” and a week later, it’s in a patch release.
Good Svelte code on an LLM that can run entirely on-device? That's huge
Schrödinger's mouse?
Hey is that a Strandberg?
shout-out to @didiercatz.com and @khromov.se for building this!
“you wouldn’t download an iframe”
rubberducking
boasts
What theme + font is that? Looks like Rose Pine
I’ll add: layout animations! Svelte has a built-in animate:flip directive but it only works while looping over keyed elements. It’d be amazing to have shared layout transitions.