Skip to content

Remove Onyx.connect() for the key: ${ONYXKEYS.COLLECTION.REPORT}${reportID} in src/libs/actions/Report.ts #73667

@tgolen

Description

@tgolen

This is part of deprecating Onyx.connect. Parent Issue

Details

  • Module: src/libs/actions/Report.ts
  • Onyx Key: ${ONYXKEYS.COLLECTION.REPORT}${reportID}
  • Reference: Line 3597: ${ONYXKEYS.COLLECTION.REPORT}${reportID}

Be sure to refactor methods using test driven development:

  1. Create a unit test for methods before refactoring
  2. Refactor the methods
  3. Ensure the unit test still runs after refactoring
  4. Reinforce the unit testing with a functional test and a QA test
  5. Once you are done, decrease the number of allowable ESLint warnings here to equal the number of Onyx.connect references remaining in the code
Issue OwnerCurrent Issue Owner: @parasharrajat

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringImprovementItem broken or needs improvement.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions