How it worksWhy small updates matter
Rebuilding a whole page to change one line costs time and loses state such as focus and scroll position.Stable ids
Every element keeps an id across updates, so the engine can tell which ones changed.Only the edits
The update is a short list of edits, such as new text or an inserted element, not a new copy of the page.State survives
Elements that did not change stay in place, so focus, selection and scroll position are kept.