Update site/content/docs/03-run-time.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/5590/head
pushkin 5 years ago committed by GitHub
parent e3d8628ec9
commit 4568383bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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. Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the only one that runs inside a server-side component.

Loading…
Cancel
Save