useLatest ​
Hook that returns the stable reference of the value
utilities
test coverage
Last changed: last month
Installation ​
Library
CLI
Manual
typescript
import { useLatest } from '@siberiacancode/reactuse';
Usage ​
typescript
const latestValue = useLatest(value);
Demo ​
Api ​
Source ​
Source • DemoContributors ​
D