Preparing search index...

    Function useRandomTagSuggestions

    • Returns up to three random tag names for the recipe-form suggestion chips.

      Reads from a short-lived module cache when fresh, otherwise refetches via useTags().searchRandomlyTags(3) and updates the cache. The returned array is read lazily by a useState initializer so the hook's React identity is stable across re-renders.

      Returns string[]