App: [$250] Migrate index.js to function component

Class Component Migration

Filenames

  • src/components/ImageView/index.js
    • type: React.PureComponent
    • has state values: true
    • has refs: true
    • has context: false
    • lifecycle methods: componentDidMount,componentWillUnmount,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/~017769cdcb33c5e53f
  • Upwork Job ID: 1691900685936295936
  • Last Price Increase: 2023-08-16
  • Automatic offers:
    • cubuspl42 | Reviewer | 26163550

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

Looks good 👍

Oh nice, sorry! This one was lost under my pile of jobs.

So here’s a summary:

Upwork job

is this correct? I believe these are a flat payment.

@Habben101 I believe someone is already assigned this one.