Wraps TanStack's useQueries with a combine that projects the
per-row results into a stable UseCampaignsResult. Cache
sharing kicks in automatically — rows with matching
UseCampaignParams de-dupe against sibling useCampaign
consumers.
options.initialData may be an array indexed 1:1 against
params; each row is seeded with its matching entry. Passing a
non-array value seeds every row with the same value (matches
TanStack's default initialData semantics).
Orchestrator over N parallel useCampaign queries.
Wraps TanStack's
useQuerieswith acombinethat projects the per-row results into a stable UseCampaignsResult. Cache sharing kicks in automatically — rows with matching UseCampaignParams de-dupe against sibling useCampaign consumers.options.initialDatamay be an array indexed 1:1 againstparams; each row is seeded with its matching entry. Passing a non-array value seeds every row with the same value (matches TanStack's defaultinitialDatasemantics).