## Class Component Migration ### Filenames - [ ] [src/components/KYCWall/BaseKYCWall.js](https://github.com/Expensify/App/blob/main/src/components/KYCWall/BaseKYCWall.js) - **type:** `React.Component` - **has state values:** true - **has refs:** false - **has context:** false - **lifecycle methods:** `componentDidMount`,`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/~017c04af1c1cb9169b</li> <li>Upwork Job ID: 1709215451872694272</li> <li>Last Price Increase: 2023-10-03</li> <li>Automatic offers: </li> <ul> <li>abdulrahuman5196 | Reviewer | 27683790</li> </ul></li> </ul> </details> <details><summary>Issue Owner</summary>Current Issue Owner: @kadiealexander</details>
Class Component Migration
Filenames
React.ComponentcomponentDidMount,componentWillUnmountTask
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexander