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
maybe using mountmethod in the ListPage?
Robin
RobinOP2y 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.

Did you find this page helpful?