Note that unlike the old hash-based method, there is no catch-all listener for hash changes. Rather, anything
wishing to change the hash should use goHash to have the navigation automatically performed (if the
entire desired state can be determined from the path alone), or setHash if you wish to set the location
but manually replace the page contents.
Process a potential change in hash.
Note that unlike the old hash-based method, there is no catch-all listener for hash changes. Rather, anything wishing to change the hash should use goHash to have the navigation automatically performed (if the entire desired state can be determined from the path alone), or setHash if you wish to set the location but manually replace the page contents.