You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-05-12][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters #89381
Monolithic IOURequestStepScan pulls in coarse subscriptions via shared hooks; until those hooks use narrow selectors, unrelated Onyx updates can still force broad re-renders.
Solution
Add selectors to useReportIsArchived, useDefaultExpensePolicy, usePolicyForMovingExpenses, and useReportAttributes (including exporting useReportAttributesByID where needed), and export getAllTransactionDrafts() and getAllReportNameValuePairs() from src/libs/actions/IOU/index.ts so variants can reuse stable getters.
changed the title [-][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters[/-][+][Due for payment 2026-05-12][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters[/+]on May 12, 2026
Activity
cristipaval commentedon May 1, 2026
The PR hit prod
cristipaval commentedon May 12, 2026
Reopening to pay @bernhardoj. Payment is already due, @mallenexpensify 🙏
melvin-bot commentedon May 12, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)[-][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters[/-][+][Due for payment 2026-05-12][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters[/+]mallenexpensify commentedon May 12, 2026
Payment Summary
Contributor+: @bernhardoj due $250 via NewDot
bernhardoj commentedon May 13, 2026
Requested in ND.
flaviadefaria commentedon May 18, 2026
$250 approved for @bernhardoj