I am trying to make real-time search functionality with the product stores in the local state. For that, I have created a function that takes queries from the search input and storing in a q variable of the handle search function. query and setQuery are context states. this working perfectly but when I remove some letters, then the function is not filtering products based on the remaining letters. Let's say I have two products called belt and bolt, and when I type bolt it shows the bolt product but when I remove some letters and stop at "b" then it's not showing me both the product based on the letters. And when I remove all the letters it shows all the products. I am a bit confused about how to tackle this. If anybody has some suggestion please do let me know.