Cho phép thao tác browser history mà không reload trang. pushState() thêm entry mới, replaceState() thay entry hiện tại, popstate event lắng nghe back/forward.
Nền tảng cho SPA routing.
Allows manipulating the browser history without reloading the page. pushState() adds a new entry, replaceState() replaces the current one, and the popstate event listens for back/forward navigation.
It is the foundation of SPA routing.