Open filips123 opened 5 years ago
You could use HTML5 History API instead of window.location.hash. It allows to change state, title and URL of page without reloading the page.
window.location.hash
One problem is that pages aren't real so refreshing the page will probably land on an invalid URL. Is it possible to handle that?
Here is a demo: https://html5demos.com/history/
I up for this too @filips123
You could use HTML5 History API instead of
window.location.hash
. It allows to change state, title and URL of page without reloading the page.One problem is that pages aren't real so refreshing the page will probably land on an invalid URL. Is it possible to handle that?
Here is a demo: https://html5demos.com/history/