title: Vue.js event to fire after data is updated
body: <p>I have a Vue.js app of which I have a couple of components for, just to handle some repetitive tasks.</p>
  
  <p>I'm also fetching data from an AJAX request.</p>
  
  <p>What I'd like some input on is if there is an event that fires after Vue data (<code>treeData</code> and <code>flatTreeData</code>) has been updated and actioned so I can perform any additional actions?</p>
  
  <pre><code>var app = new Vue({
      el: 'body',
      data: {
          treeData: {items: {}},
          flatTreeData: [],
      },
  });
  
  $.getJSON('./paths.json').done(function(data) {
  
      // apply the file structure to the vue app
      demo.treeData = data;
  
      demo.flatTreeData = flattenTree(data);
  
  });
  </code></pre>