News for hackers. Stuff that matters.
Re:VueJS cheat sheet by wjossey on Tuesday October 30, 2018 @10:54AM (#18337034)
What I showed you is just a callback chain. Vue recommends all changes flow UP. So, you can imagine a button is a leaf node that when pressed calls a function passed to it. That function belongs to the parent component in this case.

If you ever did traditiona JavaScript programming earlier in this century, you’ll be familiar with this pattern which is referred to as “callback hell” by some.

If you ever go to use a third party library like Vuetify, the components you use in essence follow the same pattern.

There are no comments on this comment yet.