App: [HOLD for payment 2023-07-24] [$250] Migrate KeyboardShortcutsModal.js to function component

Class Component Migration

Filenames

  • src/components/KeyboardShortcutsModal.js
    • type: React.Component
    • has state values: false
    • has refs: false
    • 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
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01678291804db5d8d5
  • Upwork Job ID: 1678837080014872576
  • Last Price Increase: 2023-07-11

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 49 (30 by maintainers)

Most upvoted comments

@narefyev91 yes I’m able to work on this one

We can assign @rayane-djouah πŸŽ€ πŸ‘€ πŸŽ€ C+ reviewed

Paid! TY!

Sorry! Doing now!

πŸ“£ @rayane-djouah πŸŽ‰ An offer has been automatically sent to your Upwork account for the Contributor role πŸŽ‰ Thanks for contributing to the Expensify app!

Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’» Keep in mind: Code of Conduct | Contributing πŸ“–

Woot, love it!