What a virtual DOM is. ✨
A lightweight copy of the page structure in memory. On changes, it compares the new copy with the old. Then it updates only what changed in the real page. It's one approach, not the only fast one.
More at rky.app#Frontend#WebDev#DevTips