Browse Source

Keep hook links consistent (#1323)

main
Misha Moroshko 6 years ago
committed by Alexey Pyltsyn
parent
commit
b3d4fe5efb
  1. 4
      content/docs/hooks-faq.md

4
content/docs/hooks-faq.md

@ -844,9 +844,9 @@ Traditionally, performance concerns around inline functions in React have been r
}, [a, b]); }, [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} ### How to avoid passing callbacks down? {#how-to-avoid-passing-callbacks-down}

Loading…
Cancel
Save