Skip to content

"Transformed the search bar into a functional component with slight modifications. #2876

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
Closed

"Transformed the search bar into a functional component with slight modifications. #2876

wants to merge 4 commits into from

Conversation

Mithun1508
Copy link

Fixes #issue-number

Changes:
Fixes #2358

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 develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

Copy link

welcome bot commented Jan 10, 2024

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

@lindapaiste lindapaiste added the Area: Code Quality For refactoring, cleanup, or improvements to maintainability label Jan 14, 2024
Copy link
Author

@Mithun1508 Mithun1508 left a comment

Choose a reason for hiding this comment

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

Overview : Refactor Searchbar component from class to functional component
Details:

1 Converted the Searchbar component from a class component to a functional component.

2 Replaced state and lifecycle methods with useState and useEffect hooks.

3 Updated event handling functions to use the useState and useEffect hooks.

@Mithun1508
Copy link
Author

@lindapaiste please look into it..!!

Copy link
Author

@Mithun1508 Mithun1508 left a comment

Choose a reason for hiding this comment

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

Overview : Refactor Searchbar component from class to functional component
Details:

1 Converted the Searchbar component from a class component to a functional component.

2 Replaced state and lifecycle methods with useState and useEffect hooks.

3 Updated event handling functions to use the useState and useEffect hooks.

@raclim
Copy link
Collaborator

raclim commented Jun 5, 2024

Thanks for your work on this! Since we have a few PRs for this issue already, we'll probably be going with those since they were submitted earlier. 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 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Code Quality For refactoring, cleanup, or improvements to maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert legacy React class components to function components
3 participants