History Navigation Example

Purpose: Demonstrates hypermedia navigation with server-fetched fragments, history.pushState / replaceState called from hyperscript, and the HistorySwap behavior for handling browser back/forward.
Current URL:
pushState replaceState history API

Navigation with Push URL

Home

Welcome to the home page!

Replace URL (No History Entry)

Replace URL updates the URL without creating a history entry (can't go back):