use-hash
Get and set hash value in url
Import
Source
Docs
Package
Usage
use-hash
returns hash from URL, subscribes to its changes with hashchange event
and allows changing it with setHash
function:
Current hash:
Get and set hash value in url
Import
Source
Docs
Package
use-hash
returns hash from URL, subscribes to its changes with hashchange event
and allows changing it with setHash
function:
Current hash: