[Vuejs]-How can i create a reactive xml object in Vue 3?

0👍

You have a couple of options:

  1. Make the XML object a reactive string. Then use a computed property to parse the string and create your DOM. Then use the computed DOM to render your component.

  2. Use a shallowRef for your DOM. Then call triggerRef manually when you mutate your DOM.

Leave a comment