Skip to content

Context

_lastEmptyboolean

Cheap boolean tracking the last propagated empty state. Used by notifyContentState() for early-return optimization without requiring a reactive ref on every context.

childrenWithContentnumber

The number of child nodes that have content. When zero, this component is semantically empty.

componentOwneroptionalComponentCreator<unknown>

When this context was created by a component, this will be the component that created it.

contextoptionalRecord<symbol, unknown>
disposablesoptionalDisposable_2[]
elementCacheoptionalElementCache

A cache of RenderTextTree nodes created within this context, indexed by the component or function which created them.

idnumber

Monotonic numeric ID for trace/debug correlation.

isEmptyoptionalRef<boolean>

A ref that indicates whether the component is empty. Only allocated when reactively observed (ContentSlot, mapJoin).

isRootboolean

Whether this context is a root context

metaoptionalRecord<string, any>
ownerContext | null
takenSymbolsoptionalShallowReactive<Set<MemberDeclaration context interface>>

The symbol that this component has taken.

takesSymbolsboolean

Whether this context will take an emitted symbol.