updateTemplateNode(node, template) {
      const newContent = template.replace(/\{\{\s*([^}]+)\s*\}\}/g, (match, path) => {
        path = path.trim();
        return this.model.store.get(path);
      });
      if (this.virtualDom.get(node) !== newContent) {
        node.textContent = newContent;
        this.virtualDom.set(node, newContent);
      }
    }
Updates a template-based DOM node's content with the latest values
from the model store.

This method uses a Mustache-like syntax (for example, `{{propertyName}}`)
to replace placeholders in the template with actual values retrieved
from the model store. If the content changes compared to the virtual DOM,
the DOM node is updated, and the new content is recorded in the virtual DOM.

@param {HTMLElement} node - The DOM node to update.
@param {string} template - The template string containing placeholders
                           for dynamic values.