Y
Hacker News
new
|
ask
|
show
|
jobs
by
aidos
2472 days ago
You don't
need
to use hooks there. You can just define your functions and be done with it.
1 comments
RussianCow
2472 days ago
You do if you don't want those child components to be re-rendered needlessly when some higher-level state changes.
link