The Navigation API: Stop Wrestling with history.pushState
If you have ever hand-rolled a router, you know the ritual. You call history.pushState, then you wire up a popstate listener, then you discover popstate does not fire for pushState so you patch the UR
grimicorn.hashnode.dev4 min read