Skip to content
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

New search bar #54

Closed
wants to merge 1 commit into from
Closed

New search bar #54

wants to merge 1 commit into from

Conversation

mohamed-cheraitia
Copy link
Collaborator

@mohamed-cheraitia mohamed-cheraitia commented Oct 16, 2023

SearchBar Component

This component renders a search bar with options for location, recent searches, and adding new items. It also displays a list of items based on the search query.

State:
- items (Array): An array containing the list of items.
- query (String): The current search query.

Ref:
- inputRef: A reference to the input element for adding new items.

Memoized Computation:
- filteredItems: A memoized computed value representing the items filtered based on the search query.

Handlers:
- onSubmit: Handles the submission of a new item.

@tech-chieftain
Copy link

@mohamed-cheraitia please make sure to add more context and explanation to your PRs so it can be easier for your friends to review it.

@darinetag darinetag requested review from ismail-benlaredj, LaidBengli and darinetag and removed request for ismail-benlaredj October 21, 2023 17:50
@darinetag darinetag added the Enhancement ✨ General improvements to existing features. label Oct 21, 2023
@darinetag darinetag changed the base branch from main to dev October 26, 2023 18:53
Copy link
Collaborator

@darinetag darinetag left a comment

Choose a reason for hiding this comment

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

It's working perfectly, amazing job mohamed.

@ismail-benlaredj ismail-benlaredj deleted the new-search-bar branch November 6, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ General improvements to existing features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants