by thatswrong0 · 6y ago · 0 comments
That's just a part of why hooks exist: https://reactjs.org/docs/hooks-intro.html#motivation
The more important parts have to do with code reusability and complexity.
And the way classes work in React is not typical and there _are_ non-standard behaviors to them, so to brush that additional complexity aside is myopic.