ref: rename 'detach' method to 'unmount'

This commit is contained in:
Géry Debongnie
2019-04-09 12:57:34 +02:00
parent 6e0ef0fd5c
commit 94c33af8e9
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ careful at avoiding endless cycles.
### willUnmount
willUnmount is a hook that is called each time a component is detached from
willUnmount is a hook that is called each time just before a component is unmounted from
the DOM. This is a good place to remove some listeners, for example.
This is the opposite method of _mounted_.