--

Haha, you've rediscovered "raise state up" from the original "thinking in React" (aka a tiny step toward the separation of concerns offered by patterns such as MVC). The problem is that React is supposedly just about rendering the View. But with hooks, we take our View hammer and make everything into a nail.

--

--

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