render hook livewire component: pass current record
I'm rendering a livewire component in my view page. How do I pass the current record to the component please ?
1 Reply
I'm doing this for now to get the record's id: Route::current()->parameters()['record']