F
Filament15mo ago
Robin

Running an action before fetch of a resource

Is it possible to execute code before a resource gets fetched from the database? so like every time the resource gets called, I want to do some other code first.
2 Replies
LeandroFerreira
LeandroFerreira15mo ago
maybe using mountmethod in the ListPage?
Robin
RobinOP15mo ago
Yes, that will work! Thanks, I was thinking about doing it in the resource itself, but that does not extend any kind of livewire component.
Want results from more Discord servers?
Add your server