## Class Component Migration ### Filenames - [ ] [src/components/TextInput/index.js](https://github.com/Expensify/App/blob/main/src/components/TextInput/index.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/~0166004e95bef49d66</li> <li>Upwork Job ID: 1685093243067191296</li> <li>Last Price Increase: 2023-07-29</li> </ul> </details>
Class Component Migration
Filenames
React.ComponentcomponentDidMountTask
Upwork Automation - Do Not Edit