Closed anishmanandhar closed 4 years ago
Can I take this? @pratishshr
sure @sumansta . Added you to the repo. @anishmanandhar Could you explain what kind of filter are we looking for in this issue?
@sumansta updated the description. please check it.
@anishmanandhar
Should the search API be triggered on inputChange
or only when FilterList
is clicked?
Also, as there are firstName
and lastName
in db.json
, do I need to handle the search by either of the name or a full name?
@sumansta lets search on input change, Add debounce capability also. Look at this article for reference https://levelup.gitconnected.com/debounce-in-javascript-improve-your-applications-performance-5b01855e086
REQUIREMENTS
Check this JSON server mock API for reference https://www.npmjs.com/package/json-server#filter