use-latest-callback
npmv0.3.4TypeScriptReact hook which returns the latest callback without changing the reference
Overview
use-latest-callback is an npm package that react hook which returns the latest callback without changing the reference. It is very popular, with about 6.6M downloads per week and 1 known dependents in the graph. The latest version is 0.3.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need react hook which returns the latest callback without changing the reference and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (6.6M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of use-latest-callback.
Dependencies
Peer (1)
Dev (11)
Used by
Popular packages that depend on use-latest-callback.
Alternatives to use-latest-callback
Brand checking of React Elements.
Cooperative scheduler for the browser environment.
Next.js dotenv file loading
This is a marker package to indicate that a module can only be used in Server Components.
A framework for building native apps using React
A library for interacting with the app.json
React Freeze
More powerful alternative to Animated library for React Native.
DevTools plugin helpers for Expo
The React Native multithreading library
React Native for Web
React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.
Frequently installed together
A framework for building native apps using React
More powerful alternative to Animated library for React Native.
React is a JavaScript library for building user interfaces.
TypeScript definitions for react
Color conversion and manipulation with CSS string support
Declarative API exposing native platform touch and gesture system to React Native
The React Native multithreading library
Metro configuration for React Native.
No description provided.
Simple and complete React Native testing utilities that encourage good testing practices.
Version history
| Version | Published | License |
|---|---|---|
| 0.3.4latest | 2 months ago | MIT |
| 0.3.3 | 7 months ago | MIT |
| 0.3.2 | 8 months ago | MIT |
| 0.3.1 | 9 months ago | MIT |
| 0.3.0 | 9 months ago | MIT |
| 0.2.6 | 9 months ago | MIT |
| 0.2.5 | 9 months ago | MIT |
| 0.2.4 | 1 year ago | MIT |
| 0.2.3 | 1 year ago | MIT |
| 0.2.2 | 1 year ago | MIT |
| 0.2.1 | 2 years ago | MIT |
| 0.2.0 | 2 years ago | MIT |
| 0.1.11 | 2 years ago | MIT |
| 0.1.10 | 2 years ago | MIT |
| 0.1.9 | 2 years ago | MIT |
| 0.1.8 | 2 years ago | MIT |
| 0.1.7 | 2 years ago | MIT |
| 0.1.6 | 3 years ago | MIT |
| 0.1.5 | 3 years ago | MIT |
| 0.1.4 | 4 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install use-latest-callback?
Run `npm install use-latest-callback` to add use-latest-callback to your npm project.
What license is use-latest-callback released under?
use-latest-callback is distributed under the MIT license.
How popular is use-latest-callback?
use-latest-callback has approximately 6,622,826 downloads per week and 1 known dependent packages.