[docs] mention that afterUpdate runs after onMount

Closes #4273
pull/6549/head
Simon H 3 years ago committed by GitHub
parent ddde34aeb9
commit 931738e821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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';

Loading…
Cancel
Save