Skip to content

Decompose IOURequestStepParticipants and extract shared start-page hooks #86987

@Julesssss

Description

@Julesssss

Sub-issue of #81849, coming from here.

Comment related to this task.

Task

IOURequestStepParticipants has 17 Onyx subscriptions but only 1 is used for rendering; the other 16 are callback-only. This causes unnecessary re-renders in the Create Expense flow.

  • Split into a router with variants per flow
  • Move callback-only subscriptions behind refs
  • Extract duplicated tab-reset logic shared between IOURequestStartPage and DistanceRequestStartPage into shared hooks

Metadata

Metadata

Labels

EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions