What would be the recommended approach for hydrating properties in a component. Pass them to the component, or let the component obtain them in the mount
method?
For example:
Option 1
@livewire('component', ['paramA' => '...', 'paramB' => '...'])
Option 2
@livewire('component', ['paramA' => '...'])
public function mount($paramA)
{
$this->paramB = $paramA->relationship()->get();
}