Amy Blankenship
Jun 10, 2022

--

I think the root of the problem is that hooks make _everything_ the responsibility of the View. They're a complete abdication of separation of concerns and all the other best engineering practices that emerged over decades of practice. So of _course_ they're messy and make code hard to maintain. I'm glad people are finally starting to talk about this--it was obvious to me this was the case when the React team first started pushing hooks.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet