[PR #5690] [MERGED] Optimize usage of useScrollListener and useTransactionsSearch #6069

Closed
opened 2026-02-28 21:23:26 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5690
Author: @joel-jeremy
Created: 9/5/2025
Status: Merged
Merged: 9/5/2025
Merged by: @joel-jeremy

Base: masterHead: optimize-useScrollListener-and-useTransactionsSearch


📝 Commits (1)

  • e2e309c Optimize usage of useScrollListener and useTransactionsSearch

📊 Changes

5 files changed (+45 additions, -17 deletions)

View changed files

📝 packages/desktop-client/src/components/ScrollProvider.tsx (+6 -0)
📝 packages/desktop-client/src/components/mobile/MobileNavTabs.tsx (+12 -7)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionList.tsx (+10 -5)
📝 packages/desktop-client/src/hooks/useTransactionsSearch.ts (+11 -5)
upcoming-release-notes/5690.md (+6 -0)

📄 Description

Fix unnecessary re-renders on useScrollListener and useTransactionsSearch hooks


🔄 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/5690 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 9/5/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `optimize-useScrollListener-and-useTransactionsSearch` --- ### 📝 Commits (1) - [`e2e309c`](https://github.com/actualbudget/actual/commit/e2e309c368dc719cc3b202a6dacf85815b43f061) Optimize usage of useScrollListener and useTransactionsSearch ### 📊 Changes **5 files changed** (+45 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/ScrollProvider.tsx` (+6 -0) 📝 `packages/desktop-client/src/components/mobile/MobileNavTabs.tsx` (+12 -7) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionList.tsx` (+10 -5) 📝 `packages/desktop-client/src/hooks/useTransactionsSearch.ts` (+11 -5) ➕ `upcoming-release-notes/5690.md` (+6 -0) </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. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Fix unnecessary re-renders on useScrollListener and useTransactionsSearch hooks --- <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-02-28 21:23:26 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6069