Function IncludeModeContext

Declare the renderer for every Include in a subtree. An interpreter app (TRUST_MODES_SPEC §5) sets this once at its root instead of remembering to pass mode at each call site — the failure mode being silent (one forgotten <Include> executes author code while the app believes it renders nothing but data). Defaults to compiled, so every existing consumer is unaffected.

Properties

$$typeof: symbol
Consumer: Consumer<IncludeMode>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

Provider: Provider<IncludeMode>