coldbydefault-portfolio
    Preparing search index...

    Function useBlogSearch

    • Published posts matching query, fetched from the public blog API once typing pauses. loading is true from the first keystroke until the answer for the current query arrives.

      Parameters

      • query: string

      Returns { loading: boolean; posts: BlogSearchHit[] }