Y
Hacker News
new
|
ask
|
show
|
jobs
by
nightski
2142 days ago
I'm not aware of any case in which this is true. Effects are run on every render unless you explicitly specify dependencies in the second argument of the hook.