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

Class Component Migration

Filenames

  • src/pages/NewChatPage.js
    • type: React.Component
    • has state values: true
    • has refs: false
    • has context: false
    • lifecycle methods: none

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/~013e875c428c833da0
  • Upwork Job ID: 1664707231797780480
  • Last Price Increase: 2023-06-02

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 53 (37 by maintainers)

Most upvoted comments

Hey @thienlnam @aimane-chnaif @twisterdotcom, I have created the PR and I will add the screenshots/videos for all platforms now but I have left a few comments on some choices I wanted to get your feedback on.

Also, by mistake I clicked the Create PR button before referencing issue so the PullerBear didn’t work, so can you assign yourself please?

I have applied to this job on upwork and will have the PR ready for review by Monday.

Thanks for the ping, that would be great actually