App: [HOLD for payment 2023-08-21] [$250] Migrate ThumbnailImage.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

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (16 by maintainers)

Most upvoted comments

All paid!

@kadiealexander We had a regression here. Can you please update the price to $125

@kadiealexander I have explained the cause of the regression here https://github.com/Expensify/App/issues/24424#issuecomment-1675538625 and we have a fix for that issue already https://github.com/Expensify/App/pull/24466.

It looks like we might have a regression of this here - can you check if that’s the case?