ComponentPlan

tcmts.cli.web.ComponentPlan · #gt6d2akk · type

Which endpoints are server components, which components they send to the browser as references, and which of them render the same tree for the same props, every time (cacheableComponents).

export interface ComponentPlan {
  isComponent(hash: string): boolean;
  isClientRef(hash: string): boolean;
  isCacheable?(hash: string): boolean;
}

used by