From e3d8628ec97efad154bce6b4694a6e8f23fd9a24 Mon Sep 17 00:00:00 2001 From: pushkin Date: Mon, 26 Oct 2020 15:31:57 +0100 Subject: [PATCH] Update 03-run-time.md --- site/content/docs/03-run-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 3b6df3071d..47ae8638fc 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -102,7 +102,7 @@ onDestroy(callback: () => void) --- -Schedules a callback to run once the component is unmounted. +Schedules a callback to run immediately before the component unmounts. Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the only one that runs inside a server-side component.