Browse Source

Generate ids for new headers

main
Alexey Pyltsyn 6 years ago
parent
commit
066479b69a
  1. 6
      content/community/conferences.md
  2. 4
      content/docs/hooks-faq.md

6
content/community/conferences.md

@ -17,7 +17,7 @@ April 24-26 in Helsinki, Finland
[Website](https://react-finland.fi/) - [Twitter](https://twitter.com/ReactFinland)
### ReactJS Girls Conference
### ReactJS Girls Conference {#reactjs-girls-conference}
May 3, 2019 in London, UK
[Website](https://reactjsgirls.com/) - [Twitter](https://twitter.com/reactjsgirls)
@ -47,12 +47,12 @@ June 21, 2019 Chicago, Illinois USA
[Website](https://reactloop.com) - [Twitter](https://twitter.com/ReactLoop)
### Chain React 2019
### Chain React 2019 {#chain-react-2019}
July 11-12, 2019. Portland, OR, USA.
[Website](https://infinite.red/ChainReactConf)
### React Rally 2019
### React Rally 2019 {#react-rally-2019}
August 22-23, 2019. Salt Lake City, USA.
[Website](https://www.reactrally.com/) - [Twitter](https://twitter.com/ReactRally) - [Instagram](https://www.instagram.com/reactrally/)

4
content/docs/hooks-faq.md

@ -209,7 +209,7 @@ There are a few more heuristics, and they might change over time as we fine-tune
* `componentDidCatch` and `getDerivedStateFromError`: There are no Hook equivalents for these methods yet, but they will be added soon.
### How can I do data fetching with Hooks?
### How can I do data fetching with Hooks? {#how-can-i-do-data-fetching-with-hooks}
Here is a [small demo](https://codesandbox.io/s/jvvkoo8pq3) to get you started. To learn more, check out [this article](https://www.robinwieruch.de/react-hooks-fetch-data/) about data fetching with Hooks.
@ -654,7 +654,7 @@ function ProductDetails({ fetchProduct })
Note that in the above example we **need** to keep the function in the dependencies list. This ensures that a change in the `productId` prop of `ProductPage` automatically triggers a refetch in the `ProductDetails` component.
### What can I do if my effect dependencies change too often?
### What can I do if my effect dependencies change too often? {#what-can-i-do-if-my-effect-dependencies-change-too-often}
Sometimes, your effect may be using reading state that changes too often. You might be tempted to omit that state from a list of dependencies, but that usually leads to bugs:

Loading…
Cancel
Save