Skip to content

Conversation

bc-peng
Copy link
Contributor

@bc-peng bc-peng commented Sep 3, 2025

What/Why?

Convert class component ManageInstrumentsModal into function component.

Replacing class components with function components eliminates the need for traditional lifecycle methods and enables full adoption of React 18 features like hooks and concurrent rendering.

This modernization aligns with React’s roadmap and ensures greater compatibility with future updates.

Rollout/Rollback

Revert.

Testing

Manual Testing

Delete flow

Screen.Recording.2025-09-12.at.11.52.34.mov

Cancel flow

Screen.Recording.2025-09-12.at.11.51.17.mov

@bc-peng bc-peng requested a review from a team as a code owner September 3, 2025 07:03
@bc-peng bc-peng changed the title refactor(checkout): CHECKOUT-9386 Refactor ManageInstrumentsModal refactor(checkout): CHECKOUT-9386 Convert ManageInstrumentsModal Sep 4, 2025
Copy link
Contributor

@vitalii-koshovyi vitalii-koshovyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@vitalii-koshovyi
Copy link
Contributor

Please add a screenshot to PR.

@bc-peng
Copy link
Contributor Author

bc-peng commented Sep 12, 2025

Please add a screenshot to PR.

@vitalii-koshovyi Thanks for the reminder. I have attached two manual testing videos to the description.

@bc-peng bc-peng force-pushed the ManageInstrumentsModal branch from c60fbaa to 87836fc Compare September 29, 2025 06:16
@bc-peng bc-peng merged commit 1dba5c2 into master Sep 30, 2025
11 checks passed
@bc-peng bc-peng deleted the ManageInstrumentsModal branch September 30, 2025 03:41
@bc-launchbay
Copy link

checkout-js deployed to Integration US
success 20250930035752 by Launchbay

@bc-launchbay
Copy link

checkout-js deployed to Staging US
success 20250930035752 by Launchbay

Copy link

⚡️ Lighthouse results

🖥️ Desktop:

Category Score
🟢 Performance 92
🟢 Accessibility 91
🟠 Best practices 78

📱 Mobile:

Category Score
🟠 Performance 57
🟢 Accessibility 94
🟠 Best practices 78

@bc-launchbay
Copy link

checkout-js deployed to Production US
success 20250930035752 by Launchbay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants