src/Routes/Controller.php
public function renderAjax(RequestApplicationInterface $app, $viewName, $params = [], $asResponse = false)
    {
        return $this->renderInternal($app, $viewName, $params, true, $asResponse);
    }
public function renderAjax(RequestApplicationInterface $app, $viewName, $params = [], $asResponse = false)
    {
        return $this->renderInternal($app, $viewName, $params, true, $asResponse);
    }
Render for AJAX request
@param RequestApplicationInterface $app
@param string                      $viewName
@param array                       $params
@param bool                        $asResponse
@return \Reaction\Web\ResponseBuilderInterface|string