Skip to content

[$250] Migrate ReportScreen.js to function component #16255

@marcaaron

Description

@marcaaron

Class Component Migration

Filenames

  • src/pages/home/ReportScreen.js
    • type: React.Component
    • has state values: true
    • has refs: false
    • has context: false
    • lifecycle methods: componentDidMount,componentDidUpdate

Task

  • We currently have some class components in our codebase that we would like to refactor to a function component.
  • Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
  • If you need additional guidance, please ask in #expensify-open-source
  • Test for any regressions and verify that there are no breaking changes
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0184e14afba16fa311
  • Upwork Job ID: 1686461318953848833
  • Last Price Increase: 2023-08-01
  • Automatic offers:
    • aimane-chnaif | Reviewer | 25887921

Metadata

Metadata

Labels

EngineeringExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2NewFeatureSomething to build that is a new item.ReviewingHas a PR in review

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions