Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/svelte.dev/content/blog/2024-12-01-advent-of-svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ When Svelte emits a warning or error (whether at build time, when the compiler i

- [demo](/playground/8095884c1f5040ea846669b904083e25?version=5.10.0)

## Day 10
## Day 10: SvelteKit `init` hooks

Coming soon!
A lot of you wanted a place to put asynchronous setup work that happens before your SvelteKit app starts up. You can now export an `init` function from `hooks.server.js` and `hooks.client.js` that will be awaited before any other stuff happens.

- [docs](https://svelte.dev/docs/kit/hooks#Shared-hooks-init)

## Day 11

Expand Down
Loading