Y
Hacker News
new
|
ask
|
show
|
jobs
by
hombre_fatal
2247 days ago
It also makes types much easier to analyze (whether using, say, VSCode's inference or Typescript) when using hooks. With HOCs, types tended to get lost through the arbitrary amount of <Wrapped {...props} /> chains.