Only react "solves" that. In vue component setup only runs during mount. Update is not a thing in the way react has it.

The point is that there's only one template and DOM is derived from that template. This concept is the same in both Vue, React and other popular component-based UI frameworks.