## Class Component Migration ### Filenames - [ ] [src/pages/settings/Profile/Contacts/AddSecondaryLoginPage.js](https://github.com/Expensify/App/blob/main/src/pages/settings/Profile/Contacts/AddSecondaryLoginPage.js) - **type:** `React.Component` - **has state values:** true - **has refs:** true - **has context:** false - **lifecycle methods:** `componentWillUnmount` ### 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](https://expensify.slack.com/archives/C01GTK53T8Q) - Test for any regressions and verify that there are no breaking changes <details><summary>Upwork Automation - Do Not Edit</summary> <ul> <li>Upwork Job URL: https://www.upwork.com/jobs/~01df6105d7153d75ff</li> <li>Upwork Job ID: 1665743162300596224</li> <li>Last Price Increase: 2023-06-05</li> </ul> </details>
Class Component Migration
Filenames
React.ComponentcomponentWillUnmountTask
Upwork Automation - Do Not Edit