deno.land / x / ruck@v5.0.0 / RouteContext.mjs

RouteContext.mjs
// @ts-check
import { createContext } from "react";
/** React context that holds the Ruck app route. */const c = createContext( /** @type {import("./serve.mjs").Route | undefined} */ (undefined),);
c.displayName = "RouteContext";
export default c;
ruck
Ruck is an open source buildless React web application framework for Deno.
GitHub Stars
74
Go to latest

Version Info

Tagged at
a month ago

External Dependencies