Livewire can use in resources

In filament Resource can i use livewire variable as $this->data. I have a repeted value and i am going to assign that value to the $this->data in the mount function. i want to use that variable in different place like, ->getStateUsing,action,form,table ,->default etc...
3 Replies
Dennis Koch
Dennis Koch2y ago
Resources aren't Livewire components. Pages are
Hemanath
HemanathOP2y ago
okay Any other method to use repeated queries to access data from the global variable in the field component...
Dennis Koch
Dennis Koch2y ago
Caching, memoization via static vars? Depends on the context I think.
Want results from more Discord servers?
Add your server