## Class Component Migration ### Filenames - [ ] [src/components/Icon/index.js](https://github.com/Expensify/App/blob/main/src/components/Icon/index.js) - **type:** `React.PureComponent` - **has state values:** false - **has refs:** false - **has context:** false - **lifecycle methods:** none ### 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/~010b7c9cb3b537f252</li> <li>Upwork Job ID: 1685093774219771904</li> <li>Last Price Increase: 2023-07-29</li> <li>Automatic offers: </li> <ul> <li>rayane-djouah | Contributor | 26184153</li> </ul></li> </ul> </details> <details><summary>Issue Owner</summary>Current Issue Owner: @maddylewis</details>
Class Component Migration
Filenames
React.PureComponentTask
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @maddylewis