Computed properties
Hello team,
This is a computed property on Livewire 3, i want use this on filament, i means, every time i interact with form, the filament make a new query but im not touching the client model so i don't want make unnecessary querying in my database.
thanks in advance đ€
6 Replies
its my computed property on livewire 3 (example)
its my filament view
its my filament component
i checked my checkbox input ( reactive) and many query at debugbar
i want share a filament issue at github https://github.com/filamentphp/filament/issues/1306
basicly i move my Product::query() to my mount() method, i helped a lot,
but i want prevent touch $this->table every time i change the state of any reative filament component
GitHub
Duplicate query execution in Widgets · Issue #1306 · filamentphp/fi...
Package filament/filament Package Version 2.9.8 Laravel Version 8.80.0 Livewire Version 2.10.0 PHP Version 8.1.1 Bug description When I try to show the count of user in dashboard. Its executing the...