@playlive/react-data
    Preparing search index...

    Function useCampaigns

    • Fetch N campaigns in parallel and combine their results into one ordered array.

      Unlike the useCampaign single-row hook this is a batch-semantic wrapper: one underlying useFetch fires Promise.all(params.map(fetchCampaign)), so partial failure fails the whole batch (error is populated, data is undefined).

      @playlive/react-query ships a richer useCampaigns that runs one TanStack query per row and exposes per-row errors + cache-sharing with sibling useCampaign consumers. If you need those semantics, swap tiers.

      Parameters

      Returns UseFetchResult<
          (TiltifyCampaign | TiltifyPersonalCampaign | TiltifyTeamCampaign | null)[],
      >