Skip to content

[Due for payment 2026-05-12][IOURequestStepScan Decomposition] perf: selectors on derived hooks + export IOU getters #89381

Closed

Description

@cristipaval

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 OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. cristipaval commented on May 1, 2026

    @cristipaval
    ContributorAuthor

    The PR hit prod

  2. cristipaval commented on May 12, 2026

    @cristipaval
    ContributorAuthor

    Reopening to pay @bernhardoj. Payment is already due, @mallenexpensify 🙏

  3. melvin-bot commented on May 12, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  4. 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
  5. mallenexpensify commented on May 12, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @bernhardoj due $250 via NewDot

  6. bernhardoj commented on May 13, 2026

    @bernhardoj
    Contributor

    Requested in ND.

  7. flaviadefaria commented on May 18, 2026

    @flaviadefaria
    Contributor

    $250 approved for @bernhardoj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions