I've set up a homepage containing a listview that includes a specific component.
Whenever a user clicks the "like" button within this component, I require a mechanism to trigger "refresh database request" action for the listview on the homepage. This action is necessary to prompt the database (in this case, Supabase) to update the like count.
Currently, my only option is to execute the "refresh database request" within the component itself. However, I'd rather avoid making an additional database query within the component (to get the like count), as it would result in unnecessary database queries and potentially cause the listview to exhibit scroll-related performance issues.
Do you guys have any suggestions or solutions for this issue?