Advent of Svelte
Twenty-four days, twenty-four features
Last December, Svelte Society presented an advent calendar’s worth of festive Svelte-themed code challenges.
This year, we’re turning it around: you get to relax while we take on a challenge. We’ve set ourselves a goal of releasing one thing a day from here until Christmas, whether it’s a new feature in Svelte or SvelteKit or an improvement to the website.
Follow @svelte.dev and @sveltesociety.dev and check back every day to see what we’ve been cooking up.
Day 1: Error boundaries
This is a long-awaited and much-requested feature, that allows you to isolate and recover from errors that occur during rendering.
Day 2: each without as
If you just want to render something in an {#each ...}
block n times, and don’t care about the value, you can now omit the as
part.
Day 3
Coming soon!
Day 4
Coming soon!
Day 5
Coming soon!
Day 6
Coming soon!
Day 7
Coming soon!
Day 8
Coming soon!
Day 9
Coming soon!
Day 10
Coming soon!
Day 11
Coming soon!
Day 12
Coming soon!
Day 13
Coming soon!
Day 14
Coming soon!
Day 15
Coming soon!
Day 16
Coming soon!
Day 17
Coming soon!
Day 18
Coming soon!
Day 19
Coming soon!
Day 20
Coming soon!
Day 21
Coming soon!
Day 22
Coming soon!
Day 23
Coming soon!
Day 24
Coming soon!