title: Is the data() function intended to provide functionality other than holding reactive properties?
body: <p>I saw a Vue component where the programmer (not well versed in Vue, he did not realize what he was doing was uncommon) used the <code>data()</code> function to carry more tasks than just return the <code>data</code> structure:</p>
  
  <pre><code>&lt;script&gt;
      export default {
          name: "testing",
          data() {
              console.log("hello world")
              return {
                  myvar: null
              }
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Is <code>data()</code> supposed to have extra functionalities beyond handling the reactive properties?</p>