App: [HOLD for payment 2023-08-21] [$250] Migrate index.js to function component

Class Component Migration

Filenames

  • src/components/Image/index.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/~013c57fe127a8fb894
  • Upwork Job ID: 1687206681651716096
  • Last Price Increase: 2023-08-03

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 28 (18 by maintainers)

Most upvoted comments

Noo @marcaaron i didn’t used any bot ,I saw the message on slack and commented as the first commenter gets to work on issue , I apologise i didn’t mean to distracting