
Try to extract and encapsulate the above part into a reusable part to avoid code duplication
Try to use RxJS with React to improve the search and the overall performance(saved bandwidth from unnecessary requests to the backend API)
The associated method with the previous point
