use-latest
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

use-latest

A React helper hook for storing latest value in ref object (updated in useEffect's callback).

Readme

Keywords

none

Package Sidebar

Install

npm i use-latest

Weekly Downloads

1,640,208

Version

1.2.1

License

MIT

Unpacked Size

4.24 kB

Total Files

8

Last publish

Collaborators

  • andarist