Skip to content

useGameboardRuntime

useGameboardRuntime<TRuntime>(): TRuntime

Defined in: src/react/react.ts:469

Return the runtime facade associated with the current React provider.

If no runtime provider was mounted, the hook binds a facade to the current Koota world. Use GameboardRuntimeProvider or the plan/recipe/scenario providers when components need runtime-specific helpers such as source URL maps, scenario indexes, or saved recipe registries.

TRuntime extends GameboardRuntime = GameboardRuntime

TRuntime