Function: preparePage()
Function: preparePage()
function preparePage(
event,
response,
container,
snapshot): Promise<void>;
Prepare the page to render.
Here we prepare the page to render by resolving the handler, handler the event, and rendering the component.
Parameters
event
IncomingBrowserEvent
The incoming HTTP event.
response
The outgoing HTTP response.
container
Container
The service container.
snapshot
The response snapshot.
Returns
Promise
<void
>