# use-composed-ref

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

Latest version **1.4.0** (published 2024-12-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install use-composed-ref
pnpm add use-composed-ref
yarn add use-composed-ref
bun add use-composed-ref
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2024-12-13 |
| First published | 2019-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Maintainers | andarist |

## Links

- npm: https://www.npmjs.com/package/use-composed-ref
- Repository: https://github.com/Andarist/use-composed-ref
- Homepage: https://github.com/Andarist/use-composed-ref#readme
- Issues: https://github.com/Andarist/use-composed-ref/issues
- npm.io page: https://npm.io/package/use-composed-ref

## Recent versions

- 1.4.0 (latest) — 2024-12-13
- 1.3.0 — 2022-04-22
- 1.2.1 — 2021-12-27
- 1.2.0 — 2021-12-23
- 1.1.0 — 2020-10-26
- 1.0.0 — 2019-03-21

## README

# use-composed-ref

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

---
_Source: https://npm.io/package/use-composed-ref · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
