---
title: "merge-refs"
description: "A helper for assigning several React refs through one callback."
pagination: false
---

{/* Generated from content/. Edit the catalog, not this page. */}

<PurposeNote title="Good for">Combining internal and forwarded refs in reusable components.</PurposeNote>

## What it does

A helper for assigning several React refs through one callback.

## When it fits

Combining internal and forwarded refs in reusable components.

## Other options in this category

<div data-pagefind-ignore>

- [beautiful-react-hooks](/utilities/beautiful-react-hooks) — Avoiding repeated browser-event and component-state plumbing.
- [deep-equal-json](/utilities/deep-equal-json) — Checking whether nested serialized data has changed.
- [Dinero.js](/utilities/dinero-js) — Handling currencies and arithmetic without treating money as an unstructured number.
- [es-toolkit](/utilities/es-toolkit) — Handling everyday collection and data transformations with individual helpers.
- [FilterQL](/utilities/filterql) — Expressing reusable filtering conditions over collections.

</div>

## Source

[Project source for merge-refs ↗](https://github.com/wojtekmaj/merge-refs)

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

[Transform application data →](/tasks/transform-application-data)

[All javascript &amp; react utilities options →](/utilities)
