You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
senthil-athiban
changed the title
Optimize SearchBar Component with Debounced Search Functionality
[FEAT]: Optimize SearchBar Component with Debounced Search Functionality
Aug 8, 2024
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
The text was updated successfully, but these errors were encountered: