Function: buildAppComponent()
Function: buildAppComponent()
function buildAppComponent(
event,
container,
component?,
layout?,
data?,
statusCode?,
error?): Promise<ReactNode>;
Build the React application for the current route. Or for the main handler if the route is not defined.
Parameters
event
ReactIncomingEvent
container
Container
Service Container
component?
ElementType
The component response.
layout?
unknown
The layout response.
data?
any
The data to pass to the component.
statusCode?
number
error?
any
Returns
Promise
<ReactNode
>
The resolved ReactNode.