[PR #6864] [MERGED] Fix react-hooks/exhaustive-deps in DateSelect #56087

Closed
opened 2026-05-01 03:38:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6864
Author: @joel-jeremy
Created: 2/4/2026
Status: Merged
Merged: 2/6/2026
Merged by: @joel-jeremy

Base: masterHead: fix-exhaustive-deps-DateSelect


📝 Commits (5)

  • 563e8cd Fix react-hooks/exhaustive-deps in DateSelect
  • 2660992 Add release notes for PR #6864
  • 2947328 Fix remaining suppressions
  • 19b375f Merge remote-tracking branch 'origin/master' into fix-exhaustive-deps-DateSelect
  • b2d75a9 Change category to Maintenance and fix linting issues

📊 Changes

2 files changed (+27 additions, -26 deletions)

View changed files

📝 packages/desktop-client/src/components/select/DateSelect.tsx (+21 -26)
upcoming-release-notes/6864.md (+6 -0)

📄 Description

https://react.dev/learn/separating-events-from-effects


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 28 14.55 MB → 14.47 MB (-84.3 kB) -0.57%
loot-core 1 5.85 MB 0%
api 1 4.39 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
28 14.55 MB → 14.47 MB (-84.3 kB) -0.57%
Changeset
File Δ Size
src/budget/budgetSlice.ts 🆕 +10.13 kB 0 B → 10.13 kB
src/hooks/useCategoryActions.ts 🆕 +6.77 kB 0 B → 6.77 kB
src/hooks/useCategories.ts 📈 +537 B (+183.28%) 293 B → 830 B
src/redux/store.ts 📈 +23 B (+2.34%) 983 B → 1006 B
src/components/mobile/budget/BudgetPage.tsx 📈 +829 B (+2.05%) 39.56 kB → 40.37 kB
src/components/select/DateSelect.tsx 📈 +170 B (+1.00%) 16.52 kB → 16.69 kB
src/components/autocomplete/CategoryAutocomplete.tsx 📈 +146 B (+0.83%) 17.16 kB → 17.3 kB
src/components/budget/BudgetTable.tsx 📈 +88 B (+0.79%) 10.95 kB → 11.03 kB
src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx 📈 +21 B (+0.07%) 28.3 kB → 28.32 kB
src/components/transactions/TransactionsTable.tsx 📉 -214 B (-0.24%) 86.09 kB → 85.88 kB
src/components/mobile/budget/ExpenseCategoryList.tsx 📉 -18 B (-0.46%) 3.85 kB → 3.83 kB
src/components/mobile/budget/IncomeCategoryList.tsx 📉 -18 B (-0.53%) 3.33 kB → 3.31 kB
src/sync-events.ts 📉 -65 B (-0.64%) 9.86 kB → 9.8 kB
src/components/mobile/budget/ExpenseGroupList.tsx 📉 -38 B (-0.69%) 5.34 kB → 5.31 kB
src/components/App.tsx 📉 -117 B (-1.20%) 9.56 kB → 9.44 kB
src/global-events.ts 📉 -74 B (-1.91%) 3.79 kB → 3.71 kB
src/hooks/useCategoryGroup.ts 📉 -10 B (-2.11%) 473 B → 463 B
src/hooks/useCategory.ts 📉 -26 B (-5.59%) 465 B → 439 B
src/index.tsx 📉 -166 B (-9.70%) 1.67 kB → 1.51 kB
src/components/budget/index.tsx 📉 -1.83 kB (-14.54%) 12.58 kB → 10.75 kB
src/budget/mutations.ts 🔥 -21.44 kB (-100%) 21.44 kB → 0 B
node_modules/@tanstack/query-core/build/modern/queryObserver.js 🔥 -15.52 kB (-100%) 15.52 kB → 0 B
node_modules/@tanstack/query-core/build/modern/query.js 🔥 -11.35 kB (-100%) 11.35 kB → 0 B
node_modules/@tanstack/query-core/build/modern/queryClient.js 🔥 -8.82 kB (-100%) 8.82 kB → 0 B
node_modules/@tanstack/query-core/build/modern/mutation.js 🔥 -6.44 kB (-100%) 6.44 kB → 0 B
node_modules/@tanstack/query-core/build/modern/utils.js 🔥 -5.72 kB (-100%) 5.72 kB → 0 B
node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js 🔥 -3.73 kB (-100%) 3.73 kB → 0 B
node_modules/@tanstack/query-core/build/modern/mutationObserver.js 🔥 -3.32 kB (-100%) 3.32 kB → 0 B
node_modules/@tanstack/query-core/build/modern/mutationCache.js 🔥 -3.24 kB (-100%) 3.24 kB → 0 B
node_modules/@tanstack/query-core/build/modern/retryer.js 🔥 -3.18 kB (-100%) 3.18 kB → 0 B
node_modules/@tanstack/react-query/build/modern/useBaseQuery.js 🔥 -2.56 kB (-100%) 2.56 kB → 0 B
node_modules/@tanstack/query-core/build/modern/queryCache.js 🔥 -2.1 kB (-100%) 2.1 kB → 0 B
node_modules/@tanstack/query-core/build/modern/notifyManager.js 🔥 -1.81 kB (-100%) 1.81 kB → 0 B
node_modules/@tanstack/query-core/build/modern/timeoutManager.js 🔥 -1.71 kB (-100%) 1.71 kB → 0 B
node_modules/@tanstack/query-core/build/modern/focusManager.js 🔥 -1.39 kB (-100%) 1.39 kB → 0 B
node_modules/@tanstack/query-core/build/modern/onlineManager.js 🔥 -1.28 kB (-100%) 1.28 kB → 0 B
src/budget/queries.ts 🔥 -1.08 kB (-100%) 1.08 kB → 0 B
node_modules/@tanstack/react-query/build/modern/suspense.js 🔥 -1016 B (-100%) 1016 B → 0 B
node_modules/@tanstack/react-query/build/modern/useMutation.js 🔥 -912 B (-100%) 912 B → 0 B
node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js 🔥 -699 B (-100%) 699 B → 0 B
node_modules/@tanstack/query-core/build/modern/thenable.js 🔥 -633 B (-100%) 633 B → 0 B
node_modules/@tanstack/query-core/build/modern/removable.js 🔥 -599 B (-100%) 599 B → 0 B
node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js 🔥 -572 B (-100%) 572 B → 0 B
node_modules/@tanstack/query-core/build/modern/subscribable.js 🔥 -454 B (-100%) 454 B → 0 B
node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js 🔥 -392 B (-100%) 392 B → 0 B
src/hooks/useCategoriesQuery.ts 🔥 -261 B (-100%) 261 B → 0 B
node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js 🔥 -160 B (-100%) 160 B → 0 B
node_modules/@tanstack/react-query/build/modern/useQuery.js 🔥 -92 B (-100%) 92 B → 0 B
node_modules/@tanstack/react-query/build/modern/queryOptions.js 🔥 -75 B (-100%) 75 B → 0 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/narrow.js 640.46 kB → 641.19 kB (+755 B) +0.12%

Smaller

Asset File Size % Changed
static/js/index.js 9.31 MB → 9.23 MB (-85.04 kB) -0.89%

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/da.js 106.62 kB 0%
static/js/de.js 178.5 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 162.91 kB 0%
static/js/es.js 173.92 kB 0%
static/js/fr.js 179.72 kB 0%
static/js/it.js 171.54 kB 0%
static/js/nb-NO.js 157.23 kB 0%
static/js/nl.js 106.65 kB 0%
static/js/pl.js 88.64 kB 0%
static/js/pt-BR.js 146.62 kB 0%
static/js/ru.js 106.97 kB 0%
static/js/sv.js 78.2 kB 0%
static/js/th.js 182.35 kB 0%
static/js/uk.js 215.11 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/ReportRouter.js 1.11 MB 0%
static/js/TransactionList.js 105.97 kB 0%
static/js/wide.js 160.07 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 11.79 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.85 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.C30497Fh.js 5.85 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.39 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
bundle.api.js 4.39 MB 0%

🔄 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/6864 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/6/2026 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `fix-exhaustive-deps-DateSelect` --- ### 📝 Commits (5) - [`563e8cd`](https://github.com/actualbudget/actual/commit/563e8cd09375f202234e642173516f8b18a1578d) Fix react-hooks/exhaustive-deps in DateSelect - [`2660992`](https://github.com/actualbudget/actual/commit/2660992053846d26ab6e154db903c7cfba578d48) Add release notes for PR #6864 - [`2947328`](https://github.com/actualbudget/actual/commit/2947328e717ab769c0c46b90444d73be415d5360) Fix remaining suppressions - [`19b375f`](https://github.com/actualbudget/actual/commit/19b375f6d201c068f242f4af49d51d0c958e9093) Merge remote-tracking branch 'origin/master' into fix-exhaustive-deps-DateSelect - [`b2d75a9`](https://github.com/actualbudget/actual/commit/b2d75a93173986c1bf5f9e8b3cb2008027073fb4) Change category to Maintenance and fix linting issues ### 📊 Changes **2 files changed** (+27 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/select/DateSelect.tsx` (+21 -26) ➕ `upcoming-release-notes/6864.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. --> https://react.dev/learn/separating-events-from-effects <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 28 | 14.55 MB → 14.47 MB (-84.3 kB) | -0.57% loot-core | 1 | 5.85 MB | 0% api | 1 | 4.39 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 28 | 14.55 MB → 14.47 MB (-84.3 kB) | -0.57% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/budget/budgetSlice.ts` | 🆕 +10.13 kB | 0 B → 10.13 kB `src/hooks/useCategoryActions.ts` | 🆕 +6.77 kB | 0 B → 6.77 kB `src/hooks/useCategories.ts` | 📈 +537 B (+183.28%) | 293 B → 830 B `src/redux/store.ts` | 📈 +23 B (+2.34%) | 983 B → 1006 B `src/components/mobile/budget/BudgetPage.tsx` | 📈 +829 B (+2.05%) | 39.56 kB → 40.37 kB `src/components/select/DateSelect.tsx` | 📈 +170 B (+1.00%) | 16.52 kB → 16.69 kB `src/components/autocomplete/CategoryAutocomplete.tsx` | 📈 +146 B (+0.83%) | 17.16 kB → 17.3 kB `src/components/budget/BudgetTable.tsx` | 📈 +88 B (+0.79%) | 10.95 kB → 11.03 kB `src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx` | 📈 +21 B (+0.07%) | 28.3 kB → 28.32 kB `src/components/transactions/TransactionsTable.tsx` | 📉 -214 B (-0.24%) | 86.09 kB → 85.88 kB `src/components/mobile/budget/ExpenseCategoryList.tsx` | 📉 -18 B (-0.46%) | 3.85 kB → 3.83 kB `src/components/mobile/budget/IncomeCategoryList.tsx` | 📉 -18 B (-0.53%) | 3.33 kB → 3.31 kB `src/sync-events.ts` | 📉 -65 B (-0.64%) | 9.86 kB → 9.8 kB `src/components/mobile/budget/ExpenseGroupList.tsx` | 📉 -38 B (-0.69%) | 5.34 kB → 5.31 kB `src/components/App.tsx` | 📉 -117 B (-1.20%) | 9.56 kB → 9.44 kB `src/global-events.ts` | 📉 -74 B (-1.91%) | 3.79 kB → 3.71 kB `src/hooks/useCategoryGroup.ts` | 📉 -10 B (-2.11%) | 473 B → 463 B `src/hooks/useCategory.ts` | 📉 -26 B (-5.59%) | 465 B → 439 B `src/index.tsx` | 📉 -166 B (-9.70%) | 1.67 kB → 1.51 kB `src/components/budget/index.tsx` | 📉 -1.83 kB (-14.54%) | 12.58 kB → 10.75 kB `src/budget/mutations.ts` | 🔥 -21.44 kB (-100%) | 21.44 kB → 0 B `node_modules/@tanstack/query-core/build/modern/queryObserver.js` | 🔥 -15.52 kB (-100%) | 15.52 kB → 0 B `node_modules/@tanstack/query-core/build/modern/query.js` | 🔥 -11.35 kB (-100%) | 11.35 kB → 0 B `node_modules/@tanstack/query-core/build/modern/queryClient.js` | 🔥 -8.82 kB (-100%) | 8.82 kB → 0 B `node_modules/@tanstack/query-core/build/modern/mutation.js` | 🔥 -6.44 kB (-100%) | 6.44 kB → 0 B `node_modules/@tanstack/query-core/build/modern/utils.js` | 🔥 -5.72 kB (-100%) | 5.72 kB → 0 B `node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js` | 🔥 -3.73 kB (-100%) | 3.73 kB → 0 B `node_modules/@tanstack/query-core/build/modern/mutationObserver.js` | 🔥 -3.32 kB (-100%) | 3.32 kB → 0 B `node_modules/@tanstack/query-core/build/modern/mutationCache.js` | 🔥 -3.24 kB (-100%) | 3.24 kB → 0 B `node_modules/@tanstack/query-core/build/modern/retryer.js` | 🔥 -3.18 kB (-100%) | 3.18 kB → 0 B `node_modules/@tanstack/react-query/build/modern/useBaseQuery.js` | 🔥 -2.56 kB (-100%) | 2.56 kB → 0 B `node_modules/@tanstack/query-core/build/modern/queryCache.js` | 🔥 -2.1 kB (-100%) | 2.1 kB → 0 B `node_modules/@tanstack/query-core/build/modern/notifyManager.js` | 🔥 -1.81 kB (-100%) | 1.81 kB → 0 B `node_modules/@tanstack/query-core/build/modern/timeoutManager.js` | 🔥 -1.71 kB (-100%) | 1.71 kB → 0 B `node_modules/@tanstack/query-core/build/modern/focusManager.js` | 🔥 -1.39 kB (-100%) | 1.39 kB → 0 B `node_modules/@tanstack/query-core/build/modern/onlineManager.js` | 🔥 -1.28 kB (-100%) | 1.28 kB → 0 B `src/budget/queries.ts` | 🔥 -1.08 kB (-100%) | 1.08 kB → 0 B `node_modules/@tanstack/react-query/build/modern/suspense.js` | 🔥 -1016 B (-100%) | 1016 B → 0 B `node_modules/@tanstack/react-query/build/modern/useMutation.js` | 🔥 -912 B (-100%) | 912 B → 0 B `node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js` | 🔥 -699 B (-100%) | 699 B → 0 B `node_modules/@tanstack/query-core/build/modern/thenable.js` | 🔥 -633 B (-100%) | 633 B → 0 B `node_modules/@tanstack/query-core/build/modern/removable.js` | 🔥 -599 B (-100%) | 599 B → 0 B `node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js` | 🔥 -572 B (-100%) | 572 B → 0 B `node_modules/@tanstack/query-core/build/modern/subscribable.js` | 🔥 -454 B (-100%) | 454 B → 0 B `node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js` | 🔥 -392 B (-100%) | 392 B → 0 B `src/hooks/useCategoriesQuery.ts` | 🔥 -261 B (-100%) | 261 B → 0 B `node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js` | 🔥 -160 B (-100%) | 160 B → 0 B `node_modules/@tanstack/react-query/build/modern/useQuery.js` | 🔥 -92 B (-100%) | 92 B → 0 B `node_modules/@tanstack/react-query/build/modern/queryOptions.js` | 🔥 -75 B (-100%) | 75 B → 0 B </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/narrow.js | 640.46 kB → 641.19 kB (+755 B) | +0.12% **Smaller** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 9.31 MB → 9.23 MB (-85.04 kB) | -0.89% **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/da.js | 106.62 kB | 0% static/js/de.js | 178.5 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 162.91 kB | 0% static/js/es.js | 173.92 kB | 0% static/js/fr.js | 179.72 kB | 0% static/js/it.js | 171.54 kB | 0% static/js/nb-NO.js | 157.23 kB | 0% static/js/nl.js | 106.65 kB | 0% static/js/pl.js | 88.64 kB | 0% static/js/pt-BR.js | 146.62 kB | 0% static/js/ru.js | 106.97 kB | 0% static/js/sv.js | 78.2 kB | 0% static/js/th.js | 182.35 kB | 0% static/js/uk.js | 215.11 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/ReportRouter.js | 1.11 MB | 0% static/js/TransactionList.js | 105.97 kB | 0% static/js/wide.js | 160.07 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 11.79 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.85 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.C30497Fh.js | 5.85 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.39 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.39 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <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-05-01 03:38:00 -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#56087