© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
Mark Chaney

Lazy load and livewire refresh with tables

ok, so i have some alpine tabs and within those tabs are lazy loaded lw3 components with filament tables in it. Now on the parent component, sometimes i perform an action that would require one of those lazy loaded components to be refreshed (which really only matters if that tab is active). The problem is that if i sent the refresh event to a component that isnt currently rendered, it throws an error about
$table must not be accessed before initialization
$table must not be accessed before initialization
. Is there not a native way to not attempt a refresh for a component that isnt even rendered? Doesnt really make sense to refresh one that isn rendered, right? I use these components in different areas of the app, so I am hoping to avoid having to add a property like $isRendered that has to be set/checked, etc, on each one.
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 loaded tables and refresh()
FilamentFFilament / ❓┊help
15mo ago
Issue with Filament modal, Livewire And Lazy Load
FilamentFFilament / ❓┊help
13mo ago
Livewire component with tables and form
FilamentFFilament / ❓┊help
2y ago
Lazy load tab
FilamentFFilament / ❓┊help
15mo ago