Skip to content

MaelstromExtensionContext

Defined in: packages/react/src/lib/extension-types.ts:27

Context handle handed to a MaelstromExtension. Exposes a hook that, when called inside the matching Provider tree, returns the stable extension-context subset. The actual runtime object carries more fields, but only those listed here are part of the supported contract.

useMaelstromContext: () => MaelstromExtensionContextValue

Defined in: packages/react/src/lib/extension-types.ts:28

MaelstromExtensionContextValue