[DOC] reorganize doc, unskip test, fix some links

This commit is contained in:
Géry Debongnie
2021-12-13 14:53:46 +01:00
committed by Aaron Bohy
parent 63fbcf99fd
commit 702fb3b253
7 changed files with 226 additions and 271 deletions
+10
View File
@@ -372,6 +372,16 @@ to be closed:
useExternalListener(window, "click", this.closeMenu);
```
### `useComponent`
The `useComponent` hook is useful as a building block for some customized hooks,
that may need a reference to the component calling them.
### `useEnv`
The `useEnv` hook is useful as a building block for some customized hooks,
that may need a reference to the env of the component calling them.
### Making customized hooks
Hooks are a wonderful way to organize the code of a complex component by feature