Tobias Platen
Best practize to use the same Filament Action in multiple Livewire Components.
Two possibilities come to my mind.
1. Create an action trait (for example App\Traits\Filament\Actions\CreatesPosts)
2. Create a Livewire Inline Component with the only content of the Filament Action (for example App\Livewire\Filament\Actions\CreatePostAction)
What do you think is the cleanest solution?
2 replies