it's not about history API being bad, it's about misuse to push the same url 1000 times onto the stack to the back button doesn't work
Click the toggle to show yearly pricing and the url is updated, but you can still press back to go to whatever previous page you visited.
Then, this page DOES update the history stack when the url changes: https://wakatime.com/dashboard
Click the date range and select a new range, notice the url changes but also you can press back to go to your previous date range.