I am trying to learn about vuejs nexttick methods and I'm not sure why message isn't being updated after nexttick in this example..
new Vue({
el: '#app',
data: {
message: 'one'
},
created() {
this.message = 'two';
this.$nextTick(() => {
this.message = 'three';
});
this.message = 'four'
}
})
If I echo it using
<div id="app">
<p>{{ message }}</p>
</div>
I only see three
. I understand after why one and two are showng because nexttick() changes the data rapidly, but why is four
not shown instead?