## Class Component Migration ### Filenames - [ ] [src/components/FloatingActionButton.js](https://github.com/Expensify/App/blob/main/src/components/FloatingActionButton.js) - **type:** `React.PureComponent` - **has state values:** false - **has refs:** true - **has context:** false - **lifecycle methods:** `componentDidUpdate` ### 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/~0135528d050de22c41</li> <li>Upwork Job ID: 1681842818291113984</li> <li>Last Price Increase: 2023-07-20</li> <li>Automatic offers: </li> <ul> <li>rayane-djouah | Contributor | 26487109</li> </ul></li> </ul> </details>
Class Component Migration
Filenames
React.PureComponentcomponentDidUpdateTask
Upwork Automation - Do Not Edit