Interface: IPage<IncomingEventType, OutgoingResponseType>
Interface: IPage<IncomingEventType, OutgoingResponseType>
Represents a page.
Type Parameters
IncomingEventType
IncomingEventType extends ReactIncomingEvent
The type representing the incoming event.
OutgoingResponseType
OutgoingResponseType = unknown
The type representing the outgoing response.
Properties
handle?
optional handle: FunctionalEventHandler<IncomingEventType, OutgoingResponseType>;
head()?
optional head: (context) => Promiseable<HeadContext>;
Parameters
context
PageHeadContext<any>
Returns
Promiseable<HeadContext>
render()
render: (context) => ReactNode;
Parameters
context
PageRenderContext<any>
Returns
ReactNode
