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

Class Component Migration

Filenames

  • src/pages/signin/PasswordForm.js
    • type: React.Component
    • has state values: true
    • has refs: true
    • 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/~015a1649f019112dc0
  • Upwork Job ID: 1666896718199222272
  • Last Price Increase: 2023-06-08

About this issue

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

Most upvoted comments

Payment sent and contract ended - thank you! 🎉

@esh-g payment offer sent!

@abekkala I have sent a proposal for this job on upwork. Link: https://www.upwork.com/ab/proposals/1671240414363779073

Here is a link to my profile: https://www.upwork.com/freelancers/tanyag4

@fedirjh payment sent and contract ended - thank you! 🎉

We’re getting rid of passwords so this does not actually need a refactor. We’ll just need to remove this code.