News for hackers. Stuff that matters.
Re:React made the DOM declarative; Hooks make React declarative by thymanl23 on Thursday October 03, 2019 @08:21PM (#21153694)
Hooks are a reconception of state and effects within a declarative model.

Rather than effects being tied to a component's mutable lifecycle, they are tied to the data.

Rather than state being tied to a mutable instance, it is declaratively passed in.