VueJs 2.0 - how to listen for `props` changes

VueJs 2.0 - how to listen for `props` changes

In the&nbsp;<a href="" target="_blank">VueJs 2.0 docs</a>&nbsp;I can't find any hooks that would listen on&nbsp;<code>props</code>&nbsp;changes.

In the VueJs 2.0 docs I can't find any hooks that would listen on props changes.

Does VueJs have such hooks like onPropsUpdated() or similar?


As @wostex suggested, I tried to watch my property but nothing changed. Then I realized that I've got a special case:

    <child :my-prop="myProp"></child>

<script> export default { props: ['myProp'] } </script>

I am passing myProp that the parent component receives to the child component. Then the watch: {myProp: ...} is not working.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

10 Best Vue Icon Component For Your Vue.js App

In this article, I will collect 10 Vue icon component to bring more interactivity, better UI design to your Vue application.

Collection of 10 Vue Markdown Component for Vue.js App in 2020

Markdown is a way to style text on the web. The 10 Vue markdown components below will give you a clear view.

Collection of 15 Vue Input Component for Your Vue.js App

Vue input component gives you a baseline to create your own custom inputs. It consists of a prepend/append slot, messages, and a default slot. In this article I will share 15 Vue input components to you.