From e3d8628ec97efad154bce6b4694a6e8f23fd9a24 Mon Sep 17 00:00:00 2001 From: pushkin Date: Mon, 26 Oct 2020 15:31:57 +0100 Subject: [PATCH 1/2] 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 3b6df3071d03..47ae8638fc31 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. From 4568383bf6b7fee34ab6dfc5606b3ef24b7fc697 Mon Sep 17 00:00:00 2001 From: pushkin Date: Wed, 18 Nov 2020 18:41:28 +0100 Subject: [PATCH 2/2] Update site/content/docs/03-run-time.md Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> --- 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 47ae8638fc31..fbd893464aad 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 immediately before the component unmounts. +Schedules a callback to run immediately before the component is unmounted. Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the only one that runs inside a server-side component.