Revert "Update component.md"

This reverts commit 6891ad2773.
This commit is contained in:
Sam Degueldre
2025-03-14 08:48:02 -04:00
committed by GitHub
parent 6891ad2773
commit 07eb958ef1
+1 -1
View File
@@ -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