Skip to content

Commit 9d97da3

Browse files
authored
advent of svelte day 2 (#909)
1 parent 1368a7a commit 9d97da3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

apps/svelte.dev/content/blog/2024-12-01-advent-of-svelte.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@ Follow [@svelte.dev](https://bsky.app/profile/svelte.dev) and [@sveltesociety.de
1414

1515
## Day 1: Error boundaries
1616

17-
This is a long-awaited and much-requested feature, that allows you to isolate and recover from errors that occur during rendering. See the [docs](/docs/svelte/svelte-boundary) and [tutorial](/tutorial/svelte/svelte-boundary) for more.
17+
This is a long-awaited and much-requested feature, that allows you to isolate and recover from errors that occur during rendering.
1818

19-
## Day 2
19+
- [docs](/docs/svelte/svelte-boundary)
20+
- [tutorial](/tutorial/svelte/svelte-boundary)
2021

21-
Coming soon!
22+
## Day 2: `each` without `as`
23+
24+
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.
25+
26+
- [docs](/docs/svelte/each#Each-blocks-without-an-item)
27+
- [demo](/playground/untitled#H4sIAAAAAAAAE3WR0W7CMAxFf8XKNAk0WsSeUEaRpn3Guoc0MbQiJFHiMlDVf18SOrZJ48259_jaVgZmxBEZZ28thgCNFV6xBdt1GgPj7wOji0t2EqI-wa_OleGEmpLWiID_6dIaQkMxhm1UdwKpRQhVzWSaVORJNdvWpqbhAYVsYQCNZk8thzWMC_DCHMZk3wPSThNQ088I3mghD9UwSwHwlLE5PMIzVFUFq3G7WUZ2OyUvU3JOuZU332wCXTRmtPy1NgzXZtUFp8WFw9536uWqpbIgPEaDsJBW90cTOHh0KGi2XsBq5-cT6-3nPauxXqHnsHJnCFZ3CvJVkyuCQ0mFF9TZyCQ162WGvteLKfG197Y3iv_pz_fmS68Hxt8iPBPj5HscP8YvCNX7uhYCAAA=)
2228

2329
## Day 3
2430

0 commit comments

Comments
 (0)