Skip to content

Context

_lastEmptybooleanCheap boolean tracking the last propagated empty state. Used by notifyContentState() for early-return optimization without requiring a reactive ref on every context.
childrenWithContentnumberThe number of child nodes that have content. When zero, this component is semantically empty.
componentOwneroptional ComponentCreator<unknown>When this context was created by a component, this will be the component that created it.
contextoptional Record<symbol, unknown>
disposablesoptional Disposable_2[]
elementCacheoptional ElementCacheA cache of RenderTextTree nodes created within this context, indexed by the component or function which created them.
idnumberMonotonic numeric ID for trace/debug correlation.
isEmptyoptional Ref<boolean>A ref that indicates whether the component is empty. Only allocated when reactively observed (ContentSlot, mapJoin).
isRootbooleanWhether this context is a root context
metaoptional Record<string, any>
ownerContext | null
takenSymbolsoptional ShallowReactive<Set<OutputSymbol>>The symbol that this component has taken.
takesSymbolsbooleanWhether this context will take an emitted symbol.