--

I pretty much said that--that the root cause is they only chose to provide a View layer and did not provide a specific place (other than Context) for the business layer. But hooks almost force tight coupling, whereas Class-based components are less opinionated. If you're going to be opinionated, it helps if your opinion isn't stupid.

In Part 3, I'll go into more issues that are specific to hooks.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

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

Responses (1)