Skip to content

Commit d0aed87

Browse files
Update documentation/docs/30-advanced/20-hooks.md
1 parent 6affa8b commit d0aed87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/30-advanced/20-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function handle({ event, resolve }) {
3939
4040
If unimplemented, defaults to `({ event, resolve }) => resolve(event)`.
4141

42-
If you need to exclude some code from running during the build or prerendering step, check that the app is not [`building`]($app-environment#building) beforehand.
42+
During prerendering, SvelteKit crawls your pages for links and renders each route it finds. Rendering the route invokes the `handle` function (and all other route dependencies, like `load`). If you need to exclude some code from running during this phase, check that the app is not [`building`]($app-environment#building) beforehand.
4343

4444
### locals
4545

0 commit comments

Comments
 (0)