from Hacker News

What Hooks Mean for Vue

by jsdev93 on 2/10/19, 5:56 PM with 2 comments

  • by zengid on 2/10/19, 7:56 PM

    This led me to ranting drunkenly at Dan Abramov, and nobody wants that.

    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.
    *