Package
@react-hook/latest
A React hook that updates useRef().current with the most recent value each invocation
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 821.5k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 6 years ago
- v1.0.3
- GitHub stars
- 1.5k
- 96 forks
- Open issues / PRs
- 22 / 16
- Contributors
- -
- Commits, last 52 weeks
- 0
No weekly download data in the snapshot.
821,503 downloads last week, 3,658,171 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 04 in total
- Latest version
- 1.0.3, 10 Sept 20206 years ago
- First published
- 5 Jun 2020
- Last push to GitHub
- 9 Jan 2025623 days before the snapshot
- Repository archived
- No
- Open issues
- 22
- Open pull requests
- 16
- Commits, last 52 weeks
- 0
- Dependents on npm
- 29
Major versions
- v1 first release 1.0.0, 5 Jun 2020
Recent releases
| Version | Published |
|---|---|
| 1.0.3 | 10 Sept 2020 |
| 1.0.2 | 5 Jun 2020 |
| 1.0.1 | 5 Jun 2020 |
| 1.0.0 | 5 Jun 2020 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 13 kB
- Dependencies (0)
- None
- Peer dependencies (1)
react
npm install @react-hook/latest- jsDelivr
https://cdn.jsdelivr.net/npm/@react-hook/latest@1.0.3/ - unpkg
https://unpkg.com/@react-hook/latest@1.0.3/ - esm.sh
https://esm.sh/@react-hook/latest@1.0.3
Indexability: Indexed.