From 931738e8219eb6bc9afe68d1c383f920c45c45cf Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Wed, 14 Jul 2021 13:45:34 +0200 Subject: [PATCH] [docs] mention that afterUpdate runs after onMount Closes #4273 --- site/content/docs/03-run-time.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 9a8d6a69b555..da65ac248888 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -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