ParentFull threadrads·Hooks encapsulate mutable state. It’s not much different than object-oriented programming with a different syntax.View on HN