Preparing search index...

    Module useMenu

    useMenu - Focused hook for menu data and purchase state operations

    Subscribes to the menu and purchased slices of the RecipeDatabase singleton via useSyncExternalStore. Re-renders only when menu or purchase state changes — unaffected by recipe or ingredient catalogue mutations.

    For the derived shopping list (which also depends on recipes) use useShopping.

    useMenu