A prop change with no effect on the component's DOM triggers its updated
function, unexpectedly.
https://jsfiddle.net/e5gyuorL/1/
Same result for v-html="markup()"
or {{markup()}}
or computed: { markup: ... }
.
Docs for updated
(https://v2.vuejs.org/v2/api/#updated) say:
Called after a data change causes the virtual DOM to be re-rendered and patched.
How does one catch actual DOM re-renders? If this is a FAQ, apologies; I looked at length.