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