From 07eb958ef15c4ab59ba9eb4308b6ba43a1b7d52b Mon Sep 17 00:00:00 2001 From: Sam Degueldre Date: Fri, 14 Mar 2025 08:48:02 -0400 Subject: [PATCH] Revert "Update component.md" This reverts commit 6891ad2773442053d5a0e58f3d139651ba91abc8. --- doc/reference/component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/component.md b/doc/reference/component.md index 96986b9b..c7560f18 100644 --- a/doc/reference/component.md +++ b/doc/reference/component.md @@ -352,7 +352,7 @@ cleaning operation, since the component may be destroyed before it has even been mounted. The `willDestroy` hook is useful in that situation, since it is always called. -The `onWillDestroy` hook is used to register a function that will be executed at +The `onWillUnmount` hook is used to register a function that will be executed at this moment: ```javascript