Y
Hacker News
new
|
ask
|
show
|
jobs
by
notatoad
1316 days ago
i'm a react noob too, but my impression is mostly that hooks are nicer for smaller components with simpler states, and classes reduce some boilerplate if you have a lot of different state variables within one component.