
Sign up to save your podcasts
Or


Blade gives you two big levers for keeping views maintainable: @include and Blade components.
When should you use one versus the other?
Does it matter?
In the latest episode of the No Compromises podcast, we lay out a clear heuristic for when to extract markup for organization (includes) versus when to encapsulate and reuse with controlled scope (components).
We also touch on scope pitfalls, “passing for documentation,” and why performance worries usually lie elsewhere.
Sign up for the free Mastering Laravel newsletter. The highest value-to-time ratio you will find.
By Joel Clermont and Aaron Saray4.9
88 ratings
Blade gives you two big levers for keeping views maintainable: @include and Blade components.
When should you use one versus the other?
Does it matter?
In the latest episode of the No Compromises podcast, we lay out a clear heuristic for when to extract markup for organization (includes) versus when to encapsulate and reuse with controlled scope (components).
We also touch on scope pitfalls, “passing for documentation,” and why performance worries usually lie elsewhere.
Sign up for the free Mastering Laravel newsletter. The highest value-to-time ratio you will find.

57 Listeners

697 Listeners

568 Listeners

56 Listeners

76 Listeners

24 Listeners

987 Listeners

50 Listeners

17 Listeners

14,371 Listeners

27 Listeners

2 Listeners

7 Listeners

0 Listeners

4 Listeners