-
Notifications
You must be signed in to change notification settings - Fork 5.5k
refactor(ui): Convert class to components to function components, pt 2 #25904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(ui): Convert class to components to function components, pt 2 #25904
Conversation
This reverts commit f5a85d9.
…ach/presto into function_component_conversion_3
|
@sourcery-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @yhwang, your pull request is too large to review
|
Hi @yhwang! 👋 Only authors and team members can run @sourcery-ai commands on public repos. If you are a team member, install the @sourcery-ai bot to get access ✨ |
yhwang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finished my first run of review. phrew! nice changes and great effort!
yhwang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great works
/LGTM
Description
Third batch of the component conversion started in #25666 (please see PR for background details). This finishes converting all the components in the
components/folder from class components to function components, and with the other two PRs in this series, finishes converting all the class components in the application.Motivation and Context
Resolves item 12 in #21062; function components are the new de-facto standard in react, and benefit from ongoing optimizations in current and future react versions.
Impact
UI
Test Plan
Tested the UI interface extensively, checking all refactored components and their interactions.
Components/interactions tested:
Contributor checklist
Release Notes