Skip to content

Moved Search bar to be a functional component #2509

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

Closed
wants to merge 4 commits into from

Conversation

Karanpal97
Copy link

Fixes #2358

Changes:

Ref #2358

Description:
The issue was that the search bar was not a functional component, leading to performance issues. I refactored the code to move the search bar into a functional component, improving the performance and maintainability of the code

Changes Made:
Moved the search bar to be a functional component.

Verification:
I have verified that this pull request:

  • [✓] has no linting errors (npm run lint)
  • [✓] has no test errors (npm run test)
  • [✓] is from a uniquely-named feature branch and is up to date with the karan/searchBar branch.
  • [✓] is descriptively named and links to an issue number, i.e. Ref #2358

@welcome
Copy link

welcome bot commented Oct 17, 2023

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

Copy link
Contributor

@PiyushChandra17 PiyushChandra17 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@Karanpal97
Copy link
Author

Karanpal97 commented Oct 20, 2023 via email

@raclim
Copy link
Collaborator

raclim commented Jun 13, 2024

Thanks for your work on this! This issue ultimately was addressed by PR #2431, so I'm going to close this one. I'm sorry that we couldn't get this in, but please feel free to check out our other issues!

@raclim raclim closed this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert legacy React class components to function components
3 participants