Variable not available in blade component

Table of contents

Problem:

The parameter transfer of a blade attribute does not work, the variable in the component is empty. There is no error message, but the variable seems not to have been passed.

Solution:

Eventuell liegt der Fehler in der Benutzung eines “Underscores”, Unterstrichs im Variablennamen.

Beispiel: statt “active_record”, verwende “active-record” (im Blade Template) bzw. “ActiveRecord” (im Konstruktor der Klasse, sofern vorhanden).

Source:

https://laravel.com/docs/8.x/blade#casing

Why do people only watch documentaries when their keyboards are already smashed?