7 ms·
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 t
by thymanl23 7y 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.