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