use-hash returns hash from URL, subscribes to its changes with hashchange event
and allows changing it with
use-hash will retrieve value in
useEffect. If you want to get initial value
as soon as hook is called, set
false. Note that this option is
not compatible with server side rendering – you can only use it if your app is client-side only.