ContextMap
The context values an owner sees, keyed by the symbol of each context.
The context values an owner sees, keyed by the symbol of each context. A provider creates a map whose prototype is its parent's map, so a lookup is one property read and never walks owners.
Import#
ts
import type { ContextMap } from "@shadow-js/core/extend";
Signature#
ts
type ContextMap = Record<symbol, unknown>