useIngredients - Focused hook for ingredient data and CRUD operations
Subscribes directly to the ingredients slice of the RecipeDatabase singleton
via useSyncExternalStore. Re-renders only when ingredient data changes —
unaffected by recipe, tag or menu mutations.
useIngredients - Focused hook for ingredient data and CRUD operations
Subscribes directly to the
ingredientsslice of the RecipeDatabase singleton viauseSyncExternalStore. Re-renders only when ingredient data changes — unaffected by recipe, tag or menu mutations.