News for hackers. Stuff that matters.
Re:Vue.js: The Documentary (Trailer) [video] by plopz on Monday February 17, 2020 @05:45PM (#22351637)
The issue is references, if you de-reference in the data function, you can now never change that reference because Vue's reactivity won't see the change.

    let external = {foo: {bar: 'something'};
    new Vue({
      data: function() {
        return {
          ref: external.foo.bar
        };
      }
    })
    external.foo = {bar: 'something else'};

There are no comments on this comment yet.