Skip to content

Commit

Permalink
[docs] mention that afterUpdate runs after onMount
Browse files Browse the repository at this point in the history
Closes #4273
  • Loading branch information
dummdidumm authored Jul 14, 2021
1 parent ddde34a commit 931738e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/content/docs/03-run-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ afterUpdate(callback: () => void)

Schedules a callback to run immediately after the component has been updated.

> The first time the callback runs will be after the initial `onMount`
```sv
<script>
import { afterUpdate } from 'svelte';
Expand Down

0 comments on commit 931738e

Please sign in to comment.