title: Can't access component method inside 'updated' hook in vue2
body: <p>I'm new to VueJS and I'm trying to call a method inside a child component after my parent component changed the child's props.</p>
  
  <p>I have the following in my child component:</p>
  
  <pre><code>methods: {
      isChecked() {
          if (this.cookiesTags) {
              return this.cookiesTags.includes(this.tag.id);
          }
              return false;
      }
  },
  
  updated() {
      this.isChecked();
  }
  </code></pre>
  
  <p>However, I get an error saying the isChecked() method is not a function, and I really want to avoid repeating the same code in both the methods and updated() hook.</p>
  
  <p>Am I in the wrong way here? If someone could guide me to a better way of doing this it would be great also. I need to have reactivity in the child's props because the parent component is constantly changing this property via ajax, that's why I used the updated() hook here, but maybe there's a better way.</p>
  
  <p>Thanks everyone!</p>