</>PackageGraphPackageGraph

use-callback-ref

npmv1.3.3TypeScript

The same useRef, but with callback

65M
Weekly downloads
1
Dependents
9
Dependencies
96/100
Popularity

Overview

use-callback-ref is an npm package that the same useRef, but with callback. It is extremely widely used, with about 65M downloads per week and 1 known dependents in the graph. The latest version is 1.3.3, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need the same useRef, but with callback 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 (65M 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-callback-ref.

react@types/reactreact-remove-scro…use-callback-ref
use-callback-ref dependencies dependents

Dependencies

Runtime (1)

tslib ^2.0.0

Dev (6)

@size-limit/preset-small-lib ^11.0.2@testing-library/jest-dom ^6.1.5@testing-library/react ^14.1.2@theuiteam/lib-builder ^0.3.0jest-environment-jsdom ^29.7.0size-limit ^11.0.2

Used by

Popular packages that depend on use-callback-ref.

Alternatives to use-callback-ref

Frequently installed together

Version history

VersionPublishedLicense
1.3.3latest1 year agoMIT
1.3.22 years agoMIT
1.3.12 years agoMIT
1.3.04 years agoMIT
1.2.55 years agoMIT
1.2.46 years agoMIT
1.2.36 years agoMIT
1.2.26 years agoMIT
1.2.16 years agoMIT
1.2.06 years agoMIT
1.1.06 years agoMIT
1.0.17 years agoMIT
1.0.07 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install use-callback-ref?

Run `npm install use-callback-ref` to add use-callback-ref to your npm project.

What license is use-callback-ref released under?

use-callback-ref is distributed under the MIT license.

How popular is use-callback-ref?

use-callback-ref has approximately 64,978,275 downloads per week and 1 known dependent packages.