[Vuejs]-Change data value with reactivity in vue

0👍

✅

As @connexo already mentioned in the comment section timer is indeed reactive. This is why it changes its value in the template.

The only reason for this I could think of is that you don’t include timer in the component template in your environment. There’s a related Github issue describing that so far if there’s no DOM elements affected by data, vue-devtools won’t be updated either.

Leave a comment