Skip to content

Commit

Permalink
Merge pull request preactjs#682 from nuel-ikwuoma/patch-1
Browse files Browse the repository at this point in the history
Update hooks.md
  • Loading branch information
marvinhagemeister authored Oct 3, 2020
2 parents 2e13c4d + 1f34c73 commit 815d1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/guide/v10/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ Side-Effects are at the heart of many modern Apps. Whether you want to fetch som
### useEffect
As the name implies, `useEffect` is the main way to trigger various side-effects. You can even return a cleanup function from your effect one if needed.
As the name implies, `useEffect` is the main way to trigger various side-effects. You can even return a cleanup function from your effect if one is needed.
```jsx
useEffect(() => {
Expand Down

0 comments on commit 815d1d1

Please sign in to comment.