## Class Component Migration ### Filenames - [x] [src/pages/LogInWithShortLivedAuthTokenPage.js](https://github.com/Expensify/App/blob/main/src/pages/LogInWithShortLivedAuthTokenPage.js) - **type:** `React.Component` - **has state values:** false - **has refs:** false - **has context:** false - **lifecycle methods:** `componentDidMount` ### 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/~01aa6985456f56863c</li> <li>Upwork Job ID: 1669019963113058304</li> <li>Last Price Increase: 2023-06-14</li> </ul> </details>
Class Component Migration
Filenames
React.ComponentcomponentDidMountTask
Upwork Automation - Do Not Edit