App: [HOLD for payment 2023-07-17] [$250] Migrate ReportActionsView.js to function component

Class Component Migration

Filenames

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

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/~01a5211f387b070380
  • Upwork Job ID: 1673399672865730560
  • Last Price Increase: 2023-06-26

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 42 (26 by maintainers)

Most upvoted comments

@neil-marcellini could you review the PR please?

@bernhardoj I applied your suggestion, thanks!