App: [HOLD for payment 2023-05-04] [$250] Migrate NewContactMethodPage.js to function component

Class Component Migration

Filenames

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

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (16 by maintainers)

Most upvoted comments

oh doh yes sorry! didn’t mean to forget about you ❤️ .