Amy Blankenship
Jun 10, 2022

--

The logic is still inside the component tho. And class-based react is explicit that it is storing its own state, rather than having this weird hidden registry running behind the scenes letting your function pretend to be functional when it's actually still stateful.

--

--

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