[PR #2509] [MERGED] [Maintenance] Replace react-merge-refs with useMergedRefs #30266

Closed
opened 2026-04-18 06:40:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2509
Author: @joel-jeremy
Created: 3/26/2024
Status: Merged
Merged: 4/2/2024
Merged by: @joel-jeremy

Base: masterHead: remove-react-merge-refs


📝 Commits (3)

📊 Changes

5 files changed (+51 additions, -1129 deletions)

View changed files

📝 packages/desktop-client/package.json (+0 -1)
📝 packages/desktop-client/src/components/common/Input.tsx (+4 -2)
📝 packages/desktop-client/src/hooks/useMergedRefs.ts (+10 -12)
upcoming-release-notes/2509.md (+6 -0)
📝 yarn.lock (+31 -1114)

📄 Description

Replace mergeRefs with useMergedRefs. Updated the useMergedRefs hook to support Ref because we use Ref in component props.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/2509 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 3/26/2024 **Status:** ✅ Merged **Merged:** 4/2/2024 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `remove-react-merge-refs` --- ### 📝 Commits (3) - [`f31b9a9`](https://github.com/actualbudget/actual/commit/f31b9a9d6d8489c1271ef5a2e33aae2bbe707416) Uninstall react-merge-refs - [`475fdeb`](https://github.com/actualbudget/actual/commit/475fdeb059a2dd0bc9e192f2da4c0cef002396f0) Fix import - [`5fa758f`](https://github.com/actualbudget/actual/commit/5fa758f736b50a1359e5e0ab83708d58f8d28b9b) Update useMergedRefs ### 📊 Changes **5 files changed** (+51 additions, -1129 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/package.json` (+0 -1) 📝 `packages/desktop-client/src/components/common/Input.tsx` (+4 -2) 📝 `packages/desktop-client/src/hooks/useMergedRefs.ts` (+10 -12) ➕ `upcoming-release-notes/2509.md` (+6 -0) 📝 `yarn.lock` (+31 -1114) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> Replace `mergeRefs` with `useMergedRefs`. Updated the `useMergedRefs` hook to support `Ref` because we use `Ref` in component props. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-18 06:40:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#30266