DEV Community

Discussion on: Can someone help me understand the direction React design patterns are moving in?

Collapse
 
vonheikemen profile image
Heiker

the line between "which components should or shouldn't have state"

That line should still be in the same place. If we are talking about state management, using hooks or context is an implementation detail.

Are Hooks supposed to encourage us to decentralize state by writing more stateful components?

I don't think that's the goal. Hooks are a way to reuse logic, that's it. They act (kinda) as a replacement for mixins or the higher order components pattern.