Skip to content

Commit 81f8130

Browse files
authored
day 15 (#1021)
1 parent f3dbf96 commit 81f8130

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,19 @@ Thanks to [Didier Catz](https://x.com/didiercatz) and [Stanislav Khromov](https:
107107

108108
- [docs](/docs/llms)
109109

110-
## Day 14
110+
## Day 14: unmount with outros
111111

112-
Coming soon!
112+
Now, if you need to programmatically mount and unmount a component, you can now pass an `outro: true` option to `unmount` to play transitions before it is removed from the DOM.
113113

114-
## Day 15
114+
- [docs](/docs/svelte/imperative-component-api#unmount)
115+
- [demo](/playground/a4ca332691204ccd887ec7b1df818182?version=5.13.0)
115116

116-
Coming soon!
117+
## Day 15: debugging superpowers
118+
119+
The new `$inspect.trace(...)` rune gives you detailed information about which state changes caused a derived or effect to re-run.
120+
121+
- [docs](</docs/svelte/$inspect#$inspect.trace()>)
122+
- [demo](/playground/d135c6f00beb4fa391725e59d8061604?version=5.14.0)
117123

118124
## Day 16
119125

0 commit comments

Comments
 (0)