I have a page with many nested components most of which have listViews with supabase queries. I am trying to refresh these queries every time the appState changes.
My desired app flow:
User selects client ---> selected clientId is set in appState with 'Rebuild Containing Page" ---> other component listview queries are populated with the appState clientId as a query filter.
Listview not refreshing supabase query after appState change
Actions & Logic
Here's the page I've added debug text widgets to see if the appState of clientId is being passed to all components (Red text widgets), they are populating correctly on client choice...
The first action of choosing the client...
The next page level component with a nested component that contains the listView...
Finally the component that contains the ListView that isn't refreshing with the page rebuild...
Here you can see that the apostate is reaching all the components required and when I change clients all of these change instantly but there is no refresh of the query happening...
Yes
2 replies