Skip to content

Commit 5c371e5

Browse files
ElRatonDeFuegoalexkrolick
authored andcommitted
Update hooks-reference.md (#2364)
typo: "effects run [..], but you can [..] fire it" => "effects run [..], but you can [..] fire them"
1 parent 22574f8 commit 5c371e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Mutations, subscriptions, timers, logging, and other side effects are not allowe
111111

112112
Instead, use `useEffect`. The function passed to `useEffect` will run after the render is committed to the screen. Think of effects as an escape hatch from React's purely functional world into the imperative world.
113113

114-
By default, effects run after every completed render, but you can choose to fire it [only when certain values have changed](#conditionally-firing-an-effect).
114+
By default, effects run after every completed render, but you can choose to fire them [only when certain values have changed](#conditionally-firing-an-effect).
115115

116116
#### Cleaning up an effect {#cleaning-up-an-effect}
117117

0 commit comments

Comments
 (0)