How can i filter some products by categories using firebase?
Technically it would be better to clone and extend your categories
objects with additional array property with useMemo, or you can add additional Map object with key = Category(title) and value = products (filtered) but it is up to you.