Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, I tried it just now on a random website I built in Vue. Any sane implementation of client-side navigation uses the History API[1]. It is indistinguishable from "real" navigation in the browser UI, apart from how fast it is.

If on the other hand, if you encounter code like the abomination below (which breaks cmd+click, peek and forward/back), you should not (imo) conflate it with actual client-side navigation. I suspect that's what some comments here are referring to.

    <a href="#" onclick="loadContentIntoPane('contact')">Contact Us</a>
1. https://developer.mozilla.org/en-US/docs/Web/API/History_API


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: