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

Class Component Migration

Filenames

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/~018506175ea9f2e1ae
  • Upwork Job ID: 1678837647976857600
  • Last Price Increase: 2023-07-11

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 68 (36 by maintainers)

Most upvoted comments

@anmurali Speed bonus does not apply for functional migration issues. I have refunded the +50%.

@s77rt @stitesExpensify PR is up for review.

@alpeshl Let’s get this done!

🎀 👀 🎀 C+ reviewed

@alpeshl I suppose the same bounty. Every functional migration requires testing for referenced components.

Sure, no problem. Just thought to ask as had seen few instances of migration issues where bounty was adjusted based on scope and complexity.

@vdem0115 I think we should still stick with the order of proposals. It wouldn’t be fair for others to go with your proposal since it’s not following the rules. Looking at the bright-side there are plenty of open issues with Help Wanted label, and many of those does not relay mainly on the timeline but on the RCA (issues related to bugs).

Quick links: 🎯 All issues with Help Wanted label (286) 🐛 Bug issues with Help Wanted label (274) ✨ Improvement issues with Help Wanted label (5) 🚀 New Feature issues with Help Wanted label (6)