code: protected function renderView($view, $data)
      {
          try {
              return parent::renderView($view, $data);
          } catch (\InvalidArgumentException $e) {
              return static::applyDataToView($view, $data);
          }
      }
docs: Render the given view.
  
  @param  string $view
  @param  array  $data
  
  @return mixed