Skip to content

Commit

Permalink
Use another example
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 13, 2019
1 parent 110a318 commit 474de38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/hooks-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ There are a few more heuristics, and they might change over time as we fine-tune

### How can I do data fetching with Hooks?

Here is a [small demo](https://codesandbox.io/s/pwm32zx7z7) to get you started. To learn more, check out [this article](https://www.robinwieruch.de/react-hooks-fetch-data/) to learn more about 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/) to learn more about data fetching with Hooks.

### Is there something like instance variables? {#is-there-something-like-instance-variables}

Expand Down Expand Up @@ -571,7 +571,7 @@ We moved the function inside the effect so it doesn't need to be in its dependen

>Tip
>
>Check out [this article](https://www.robinwieruch.de/react-hooks-fetch-data/) to learn more about data fetching with Hooks.
>Check out [this small demo](https://codesandbox.io/s/jvvkoo8pq3) and [this article](https://www.robinwieruch.de/react-hooks-fetch-data/) to learn more about data fetching with Hooks.
**If for some reason you _can't_ move a function inside an effect, there are a few more options:**

Expand Down

0 comments on commit 474de38

Please sign in to comment.