Enviar objeto de Laravel para reaccionar el componente JS

// Inside AppServiceProvider::boot
Blade::include('includes.react', 'react');

// Create a includes/react.blade.php file
<div id="rct-{{ $id }}" data-props='@json($props)'></div>

//Inside your views just include ($props must be an array)
@react(['id' => 'user-dropdown', 'props' => $props])

//Using this approach you can pass more complex data:
@react([
    'id' => 'user-dropdown',
    'props' => [
        'name' => Auth::user()->name,
        'obj' => [
            'bla' => ['id' => 1]
        ],
        'arr' => [1,2,3]
    ]
])
Gifted Gerenuk