Skip to content
JS
Package

use-composed-ref

React hook which creates a ref function from given refs. Useful when using forwardRef.

v1.4.0, 13 Dec 2024MITESM + CommonJSTypes: Bundled
$ npm install use-composed-ref

Key numbers

As of 25 Sept 2026
Weekly downloads
6m
+93% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.4.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.5m (18 Aug 2026)Low 1.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,996,109 downloads last week, 27,240,620 in the last month. The 12-month change of +93% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.4.0, 13 Dec 20241 year ago
First published
21 Mar 2019
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 21 Mar 2019

Recent releases

VersionPublished
1.4.013 Dec 2024
1.3.022 Apr 2022
1.2.127 Dec 2021
1.2.023 Dec 2021
1.1.026 Oct 2020
1.0.021 Mar 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.7 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install use-composed-ref
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-composed-ref@1.4.0/
  • unpkghttps://unpkg.com/use-composed-ref@1.4.0/
  • esm.shhttps://esm.sh/use-composed-ref@1.4.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.