Michael Landis
Jul 10, 2022

--

Complaining about hooks being bad is like saying that functions are bad. Because that's all they are. Functions.

Just because hooks aren't pure functions doesn't mean that we can't apply functional programming concepts.

Functional composition, currying and partial function creation, decomposition, all let us do SOLID things with hooks. It's a different way of approaching the problems is all.

--

--

Michael Landis
Michael Landis

Written by Michael Landis

Front-end web developer, React enthusiast, vagabond.

Responses (2)