Routing is a key piece of every web application. At its heart, routing involves taking a URL, applying some pattern matching or other app-specific logic to it, and then, usually, displaying web content based on the result. We can update the URL in JavaScript. We’ve got the APIs pushState and replaceState. That’s literally what “Single Page App” (SPA) means.

3m read timeFrom css-tricks.com
Post cover image
1 Comment

Sort: