useRefState ​
utilities
test coverage
Last changed: 28 days ago
Hook that returns the state reference of the value
typescript
import { useRefState } from '@siberiacancode/reactuse';
Usage ​
typescript
const internalRefState = useRefState();