3 ms·
You don't really seem to understand how the History API works. They're normal anchors that have an handler attached. When the handler is executed, the transitio
by curtisblaine 4y ago
You don't really seem to understand how the History API works. They're normal anchors that have an handler attached. When the handler is executed, the transition to another page is handled client-side. If you open the link in another page, or bookmark, or deep link in any other way, the SPA loads in its entirety and shows the right content anyway. Most of the time, with lazy loading and caching, the actual number of bytes on the wire is less than serving a whole server generated page of content.