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

[FEAT]: Optimize SearchBar Component with Debounced Search Functionality #707

Closed
senthil-athiban opened this issue Aug 8, 2024 · 1 comment · Fixed by #708
Closed

[FEAT]: Optimize SearchBar Component with Debounced Search Functionality #707

senthil-athiban opened this issue Aug 8, 2024 · 1 comment · Fixed by #708
Labels
kind/enhancement Improvement in current feature

Comments

@senthil-athiban
Copy link
Contributor

Current Behavior

The SearchBar component executes the onSearch function immediately upon user input, leading to potential performance issues due to the rapid firing of search queries as the user types.

Desired Behavior

Optimize the SearchBar component by implementing a debounced search functionality. This should reduce the number of calls to the onSearch function during rapid input changes, enhancing performance and user experience.

Implementation

Utilize lodash debounce function into Search bar


Contributor Guide

@senthil-athiban senthil-athiban added the kind/enhancement Improvement in current feature label Aug 8, 2024
@senthil-athiban
Copy link
Contributor Author

@sudhanshutech could you please assign me this issue?

@senthil-athiban senthil-athiban changed the title Optimize SearchBar Component with Debounced Search Functionality [FEAT]: Optimize SearchBar Component with Debounced Search Functionality Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvement in current feature
Development

Successfully merging a pull request may close this issue.

1 participant