You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to find why it's not working from the home page but it's works when refreshing directly on the collection. I put just below two videos that show some interesting logs. With these video, we can find some differences between the two view:
From the collection
The query LikesForMember is undefined first, but at the end, it is in idle status.
Each time you click on the like button, a fetch is made to retrieve new data (the fetch log is inside the queryFn of useLikesForMember)
From the main
The query LikesForMember is undefined first, then it is in idle status, but at the end, it's undefined.
Only at the first render, the likes are fetched. After that, clicking on the like button invalidate the query, but the queryFn is not executed anymore (I also tried to always enable the query).
Screen.Recording.2024-05-06.at.09.56.39.mov
The text was updated successfully, but these errors were encountered: