3 ms·
Just to reply to one point: > How do you support Bookmarking in a Single Page Application? I think this is an essential feature and not trivial to implement co
by sanderjd 11y ago
Just to reply to one point:
> How do you support Bookmarking in a Single Page Application? I think this is an essential feature and not trivial to implement correct.
I'm not sure I've ever seen this be a problem. You make sure the app is served from any route that exists within the app, and the app's router loads the correct content based on the url when it boots up.
- enjo 11y agoYou're correct. In modern browsers we have control over the history via the HTML 5 history API. Previously we used the hashtag to deal with state changes, which mostly worked (does allow pages to be bookmarked).