Skip to content

Scope context

const ScopeContext: ComponentContext<OutputScope>
import { useScope } from "@alloy-js/core";
const myContext = useScope();
import { createScope } from "@alloy-js/core";
function createScope<TScope extends OutputScope, Args extends unknown[]>(ctor: new (...args: Args) => TScope, ...args: Args): TScope;