Hacker News new | ask | show | jobs
by thymanl23 2444 days ago
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.