Skip to content
jshacks.dev

Tag

history

1 post

Flat illustration of a browser and a server trading a request and a response, with the Google Chrome, Postman and NGINX logos.
Browser

How to Build a Tiny Client-Side Router

Build a tiny client-side router with the History API: route patterns with params, link interception, popstate, not-found handling, guards and lazy loaded views.

8 min read