F
Filament13mo ago
Hemith

Run a function after a table is loaded.

I want to run a function after the ListResource page is loaded like an SQL query that markAsRead. Are there any lifecyclehooks I can use for table builder?
Solution:
Yes. I was able to do with the livewire mount method. Thanks for the help!
Jump to solution
3 Replies
toeknee
toeknee13mo ago
Can you get more of an example? markAsRead used to do that within the table?
awsqed
awsqed13mo ago
have you tried livewire lifecycle hooks, its basically a livewire component
Solution
Hemith
Hemith13mo ago
Yes. I was able to do with the livewire mount method. Thanks for the help!
Want results from more Discord servers?
Add your server