title: Laravel blade template inheritance vs Laravel component
body: <p>I'm wondering if it is worth moving from this code.</p>
  <pre><code>@extends('layouts.app')
   
  @section('title', 'Page Title')
   
  @section('content')
      @foreach ($tasks as $task)
          {{ $task }}
      @endforeach
  @endsection
  </code></pre>
  <p><strong>To this one.</strong></p>
  <pre><code>&lt;x-layout&gt;
      &lt;x-slot:title&gt;
          Custom Title
      &lt;/x-slot&gt;
   
      @foreach ($tasks as $task)
          {{ $task }}
      @endforeach
  &lt;/x-layout&gt;
  </code></pre>
  <p>I mean is it better to use Laravel components instead of just using @extend, @yeild, and @section etc..</p>