Skip to content

Variables: createHook ​

ts
const createHook: RouterAssets<RegisteredRouter>["createHook"];

Creates a reusable hook with callbacks typed to the registered router's resolved routes.