Lit binding wrapping ContextProvider / ContextConsumer from
@lit/context for the resolverContext.
The port is host-scoped — both provide and consume require a
ReactiveControllerHost reference so @lit/context can register
its controllers on the element's lifecycle. This is unavoidable
given Lit's reactive update model and is the reason the Lit port
does not match the canonical ContextPort signature in
core/contexts.ts directly — see this module's docstring for the
rationale.
Lit binding wrapping
ContextProvider/ContextConsumerfrom@lit/contextfor the resolverContext.The port is host-scoped — both
provideandconsumerequire aReactiveControllerHostreference so@lit/contextcan register its controllers on the element's lifecycle. This is unavoidable given Lit's reactive update model and is the reason the Lit port does not match the canonical ContextPort signature incore/contexts.tsdirectly — see this module's docstring for the rationale.