I am currently working on understanding the issue with this example that is not behaving as expected. My goal is to initialize my ContentView
using the server-side rendered HTML in the DOM. I plan to check if init__main-content
exists and then initialize the component with its innerHTML. However, when attempting to delete the initial node, the content ends up displaying twice.
I believe there may be some Vue "magic" at play here that I am unfamiliar with. Can someone please explain this behavior to me?