Skip to content

[Due for payment 2025-05-08] [LOW] Optimize loops in Onyx #60726

@roryabraham

Description

@roryabraham

Problem

Loops in Onyx are using .forEach, which is no longer the best practice.

Solution

Update Onyx to use for...of loops, just as E/App does. This will lead to better code consistency, readability, and a marginal, low-level performance improvement.

Issue OwnerCurrent Issue Owner: @JmillsExpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ImprovementItem broken or needs improvement.

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions