That kind of performance optimization should be applied automatically.
It's a welcomed addition for advanced developers but it should be the machine's job.
I think frameworks like SolidJS or Svelte are one step ahead in that regards. As far as I understand, they can surgically update the DOM without having to re-render the whole component. I wonder if Vue 4 will still use a Virtual DOM.