useHash ​
Hook that manages the hash value
browser
test coverage
Last changed: last month
Installation ​
Library
CLI
Manual
typescript
import { useHash } from '@siberiacancode/reactuse';
Usage ​
typescript
const [hash, setHash] = useHash();
Demo ​
Api ​
Returns
UseHashReturn
Type declaration ​
typescript
type UseHashReturn = [string, (value: string) => void];
Source ​
Source • DemoContributors ​
D
H