Hacker News new | past | comments | ask | show | jobs | submit login
React made the DOM declarative; Hooks make React declarative (dev.to)
3 points by thymanl23 on Oct 4, 2019 | hide | past | favorite | 1 comment



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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: