Hacker News new | ask | show | jobs
React made the DOM declarative; Hooks make React declarative (dev.to)
3 points by thymanl23 2444 days ago
1 comments

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.