News for hackers. Stuff that matters.
Re:Why we chose Vue.js over React by tmnvix on Sunday December 11, 2016 @05:20PM (#13153722)
It is basically equivalent to `LoginForm = this.LoginForm`. It is called destructuring and is one of the nice conveniences of es6 javascript. Importantly you can also do this:

    var o = {p: 42, q: true};
    var {p, q} = o;

    console.log(p); // 42
    console.log(q); // true

There are no comments on this comment yet.