© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
1 reply
Mark Chaney

Lazy loaded tables and refresh()

I would really like the ability to lazy load table components I have in tabs on standalone livewire pages. But if I have a dispatch to refresh that component after an action happens and if it’s not currently loaded, I get the error ‘$table must not be accessed before initialization’. How can I more elegantly handle this in a simple way? Do I override refresh() in my tabs trait that does some checks first? Seems like livewire should handle this a bit more gracefully. Obviously it doesn’t need to rerender something that hasn’t rendered yet.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Lazy load and livewire refresh with tables
FilamentFFilament / ❓┊help
2y ago
Two tables on page with asynchronous refresh
FilamentFFilament / ❓┊help
10mo ago
Forms and tables
FilamentFFilament / ❓┊help
2y ago
Refresh Heading and Subheading
FilamentFFilament / ❓┊help
17mo ago