App: [HOLD for payment 2023-06-28] [$250] Migrate DetailsPage.js to function component

Class Component Migration

Filenames

  • src/pages/DetailsPage.js
    • type: React.PureComponent
    • has state values: false
    • has refs: false
    • has context: false
    • lifecycle methods: componentDidMount

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/~01572a9c6f68e57013
  • Upwork Job ID: 1666750052274601984
  • Last Price Increase: 2023-06-08

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 34 (19 by maintainers)

Most upvoted comments

@esh-g - paid.

@zanyrenney Just got the offer now… There must have been some delay. Sorry for that!

📣 @bilal42011! 📣 Hey, it seems we don’t have your contributor details yet! You’ll only have to do this once, and this is how we’ll hire you on Upwork. Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don’t already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It’s necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It’ll look like this. If you don’t already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details. Screen Shot 2022-11-16 at 4 42 54 PM Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

I’ll decide by tomorrow if I’m going to take internal or release this one @esh-g