TIP 15 / 20

Component Syntax Tip.

Did you know that if you pass colon (:) before the component parameter, you can directly pass variables without print statement {{ }}?

blade
<x-navbar title="{{ $title }}"/>

// Use this approach instead:

<x-navbar :title="$title"/>