interface MiniContext
interface MiniContext {
isHtmx: boolean;
params: Record<string, string>;
request: BunRequest;
route?: string;
url: URL;
}Server context passed to MiniPage, MiniPartial, and MiniLayout render functions.
property isHtmx
Whether the request was made via HTMX (HX-Request header present).
booleanproperty params
Route parameters extracted from the matched path pattern.
Record<string, string>property request
The raw incoming Bun.BunRequest, including Bun-specific metadata.
BunRequestproperty route
The matched route path used for route-specific rendering behavior.
stringproperty url
The parsed request URL.
URL