App: [HOLD for payment 2023-08-28] [$250] Migrate index.js to function component

Class Component Migration

Filenames

  • src/components/Composer/index.js
    • type: React.Component
    • has state values: true
    • has refs: true
    • has context: false
    • lifecycle methods: componentDidMount,componentWillUnmount,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
  • Test for any regressions and verify that there are no breaking changes

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (8 by maintainers)

Most upvoted comments

hey there, I’m currently developing the inline suggestion feature and this task is creating a bit of a hold-up for me. Could I jump in and expedite its completion?