The influence of the loading order of props, data and computed in Vue

The influence of the loading order of props, data and computed in Vue

1. Computed and watch can only be used as change monitor, never initialization!!!

2. Because the loading order is props – & gt; methods – & gt; data – & gt; computed – & gt; watch

3. All init methods must directly call the database or this$ store.getters Read memory instead of computing it

Read More: