sentByReference

tcmts.cli.flight.sentByReference · #ytqngslc · term · runs anywhere

What an app's server components send to the browser by reference (refsOf): browser components, the contexts they provide, lazy ones

import type { AppPlan } from "#codebase/tcmts/cli/placement";

export function sentByReference(plan: AppPlan): Set<string> {
  return new Set([...plan.refsOf.values()].flatMap((refs) => [...refs]));
}

uses

used by