protected function renderView($view, $data)
    {
        try {
            return parent::renderView($view, $data);
        } catch (\InvalidArgumentException $e) {
            return static::applyDataToView($view, $data);
        }
    }