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.
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
useFetchfiresPromise.all(params.map(fetchCampaign)), so partial failure fails the whole batch (erroris populated,dataisundefined).@playlive/react-queryships a richeruseCampaignsthat runs one TanStack query per row and exposes per-row errors + cache-sharing with sibling useCampaign consumers. If you need those semantics, swap tiers.