Part of IOURequestStepScan Decomposition Plan — see rinej's split design comment.
Parent: #85583
Problem
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.
Issue Owner
Current Issue Owner: @mallenexpensify
Part of IOURequestStepScan Decomposition Plan — see rinej's split design comment.
Parent: #85583
Problem
Monolithic
IOURequestStepScanpulls 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, anduseReportAttributes(including exportinguseReportAttributesByIDwhere needed), and exportgetAllTransactionDrafts()andgetAllReportNameValuePairs()fromsrc/libs/actions/IOU/index.tsso variants can reuse stable getters.Issue Owner
Current Issue Owner: @mallenexpensify