function handlePopState(e) {
// code before url change
}
window.addEventListener('popstate', handlePopState);
Created
October 5, 2018 08:09
-
-
Save jordanrios94/d4fe1cf028b0567ed408f061d11ae492 to your computer and use it in GitHub Desktop.
FE Routing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment