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
maybe using
mount
method in the ListPage?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.