49 points · by jsdev93 · 7y ago · 2 comments
I wish I was at that party.. But seriously, do hooks allow for components to act more like state machines? I'm gathering that from this:
Hooks achieve what mixins do, but avoid two main problems that come with mixins:
-They allows us to pass state from one to the other.
-They make it explicit where logic is coming from.
*