-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
EngineeringImprovementItem broken or needs improvement.Item broken or needs improvement.MonthlyKSv2KSv2ReviewingHas a PR in reviewHas a PR in review
Milestone
Description
Class Component Migration
Filenames
- src/components/Avatar.js
- type:
React.PureComponent
- has state values: true
- has refs: false
- has context: false
- lifecycle methods:
componentDidUpdate
- type:
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
- Test for any regressions and verify that there are no breaking changes
Metadata
Metadata
Assignees
Labels
EngineeringImprovementItem broken or needs improvement.Item broken or needs improvement.MonthlyKSv2KSv2ReviewingHas a PR in reviewHas a PR in review