Hacker News new | ask | show | jobs
by whiterock 99 days ago
quite cool, but the browser history being messed up drives me bonkers. is that easy to fix?
1 comments

You should be able to push to history using history.pushState(…) after loading a new page. There are probably more details needed around popState to handle back and forward navigation. I’m sure Claude will be able to assist here, but maybe too much complexity when other similar libraries may also manage history state.
Yes, µJS manages browser history out of the box.