3 ms·
> But for dynamic pages or SPAs it more often than not leads to going back to a page in a broken state. Definitely a page concern, not the browsers. This probl
by capableweb 6y ago
> But for dynamic pages or SPAs it more often than not leads to going back to a page in a broken state.
Definitely a page concern, not the browsers. This problem is also easy to fix and a solution has been known for many years by now: handle navigation via the URL always! (or, modern take: via the history API). A modal opens? The URL should change and because the URL changed to that specific path, show the modal. Now users can bookmark or go back/forward without any issues of pages being broken.