npm · npm:use-latest
use-latest active
A React helper hook for storing latest value in ref object (updated in useEffect's callback).
The latest stable version of use-latest is 1.3.0, published on 2024-12-13. Verified by Vigia on 2026-11-12.
| Latest stable version | 1.3.0 |
|---|---|
| Published | 2024-12-13 09:45:21 UTC |
| Install | npm install use-latest@latest |
| Requires (engines) | none declared |
| Peer dependencies | react ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 |
| Dist-tags | latest: 1.3.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:50:06 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "use-latest", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/use-latest . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2024-12-13 09:45:21 UTC · 699 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 5 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.3.0 | 2024-12-13 09:45:21 UTC |
1.2.1 | 2022-04-24 10:06:52 UTC |
1.2.0 | 2020-10-26 10:19:08 UTC |
1.1.0 | 2020-06-30 13:52:41 UTC |
1.0.0 | 2019-03-25 09:20:04 UTC |
Showing the 5 most recent of 5 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of use-latest?
The latest stable version of use-latest is 1.3.0, published on 2024-12-13. Verified by Vigia on 2026-11-12.
How do I install the latest version of use-latest?
Run npm install use-latest@latest. The latest stable version is 1.3.0 (verified 2026-11-12).
Is use-latest deprecated?
No. use-latest is not marked as deprecated in the registry.
Which Node.js version does use-latest require?
use-latest 1.3.0 does not declare a Node.js version requirement.
Does use-latest 1.3.0 have known vulnerabilities?
No known advisories affect use-latest 1.3.0 according to the data Vigia checks.
Is use-latest still maintained?
use-latest published 0 stable releases in the last 12 months; the most recent was 699 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- @stoplight/types
- command-line-usage
- babel-plugin-transform-flow-enums
- pause-stream
- @juggle/resize-observer
- hashery
- react-window
- urijs
- markdown-extensions
- event-stream
- @next/eslint-plugin-next
- @aws-sdk/middleware-websocket
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/use-latest) [](https://vigia.coredls.cloud/npm/use-latest) [](https://vigia.coredls.cloud/npm/use-latest)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/use-latest
GET https://vigia.coredls.cloud/v1/packages/npm/use-latest/versions/{version}