Hacker News new | ask | show | jobs
by lastdong 99 days ago
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.
1 comments

Yes, µJS manages browser history out of the box.