-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
chore:migrate ResultSet from class components to functional components #18821
chore:migrate ResultSet from class components to functional components #18821
Conversation
@The-hyphen-user Hi, we already have the same #18593 PR |
displayLimit, | ||
height, | ||
query, | ||
search, |
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.
it seems like this has a default value, which you should put in. Same with database, csv, showSql, and visualize.
); | ||
}; | ||
|
||
ResultSet.defaultProps = { |
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.
I think you can move this in favor of stating defaults in the functional component itself.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Superseded by #21186. |
SUMMARY
changed class components to functional
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
testing file still needs to be updated to test use-effect instead of component did mount/ component will receive props
ADDITIONAL INFORMATION