ShoppingComputation - Pure shopping list aggregation for Recipedia
Provides a single pure function that derives a flat shopping list from the
current menu, recipe catalogue and purchased-ingredient state. Extracted
from RecipeDatabaseContext so it can be used by useShopping without any
React dependency and tested in isolation.
ShoppingComputation - Pure shopping list aggregation for Recipedia
Provides a single pure function that derives a flat shopping list from the current menu, recipe catalogue and purchased-ingredient state. Extracted from RecipeDatabaseContext so it can be used by
useShoppingwithout any React dependency and tested in isolation.