Closed xshadowlegendx closed 4 years ago
hello, sorry for late replies. Yes, I will do what you said above and push again.
@all-contributors please add @xshadowlegendx for code
@luisFilipePT
I've put up a pull request to add @xshadowlegendx! :tada:
This PR contains improvements to issue https://github.com/luisFilipePT/github-covid-finder/issues/23
Additional improvements:
useEffect
dependency so it run only onceonChange
being used on the inputNotes:
searchState
was there to be automatically refetch data onsearchState
changes but the update was very frequent if user typing on input but debouncing the input also one solution to it but then the Input has the use of pressing enter key and click on search icon to begin searching, so that is why I thought maybe I should remove the dependency on theuseEffect
Finally, I welcome all feedbacks and suggestions