bishalde / GithubCrawler

https://githubcrawler.vercel.app
7 stars 5 forks source link

Need to implement debouncing for the search field #16

Open Sriver27 opened 1 month ago

Sriver27 commented 1 month ago

Steps to reproduce the issue:

  1. Add a git user name in the search field
  2. Hit enter key crazy number of times. You see as many times as the enter key is pressed there's network call which in terms increases the cost and makes the app less optimised

Solution: Adding debouncing can solve this issue.

Outcome: Can reduce unnecessary network calls

Assign this issue to me. I can work on it and more of optimisations.

bishalde commented 1 month ago

Thanyou @Sriver27 for finding this issue. Sure, you can proceed with it.! Create a new branch, push the changes in that branch! And feel free to give this Repository a STAR⭐ and follow back 😊.

2003sidd commented 1 month ago

Hey @bishalde can you please assign this issue to me under gssoc24. Problem: A search field calls api multiple time which cause unnecessary api calls and reduce system performance. Solution: Implementing debouncing helps to reduce unnssasary api call and improve performance. Thank you