App: [HOLD for payment 2023-09-06] [$250] Migrate OnfidoPrivacy.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
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0192fbde0c3af746a3
  • Upwork Job ID: 1689721648652472320
  • Last Price Increase: 2023-08-17

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 56 (26 by maintainers)

Most upvoted comments

Hi, sorry for the delay - I was OOO due to bank holiday in Poland. I’ve migrated the component into a functional one, now I’m just testing everything to make sure there are no bugs because of it 😃 I will keep you updated!