Keep hook links consistent (#1323)

This commit is contained in:
Misha Moroshko
2019-05-18 04:22:01 -07:00
committed by Alexey Pyltsyn
parent 10e375dacb
commit b3d4fe5efb

View File

@@ -844,9 +844,9 @@ Traditionally, performance concerns around inline functions in React have been r
}, [a, b]);
```
* The [`useMemo` Hook](/docs/hooks-faq.html#how-to-memoize-calculations) makes it easier to control when individual children update, reducing the need for pure components.
* The [`useMemo`](/docs/hooks-faq.html#how-to-memoize-calculations) Hook makes it easier to control when individual children update, reducing the need for pure components.
* Finally, the `useReducer` Hook reduces the need to pass callbacks deeply, as explained below.
* Finally, the [`useReducer`](/docs/hooks-reference.html#usereducer) Hook reduces the need to pass callbacks deeply, as explained below.
### How to avoid passing callbacks down? {#how-to-avoid-passing-callbacks-down}