Folo icon indicating copy to clipboard operation
Folo copied to clipboard

fix: upon modifying the information in the Inbox, the list failed to update promptly

Open cuikaipeng opened this issue 1 year ago • 1 comments

Description

on the Discover page, when modifying information in the Inbox, the list does not update immediately after the modification is completed.

https://github.com/user-attachments/assets/34d975b8-4cd7-4818-91b2-4d733c495c3f

Linked Issues

Additional context

cuikaipeng avatar Oct 05 '24 08:10 cuikaipeng

@cuikaipeng is attempting to deploy a commit to the RSS3 Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 05 '24 08:10 vercel[bot]

This implementation does not make sense. I will refactor later

Innei avatar Oct 06 '24 07:10 Innei

This implementation does not make sense. I will refactor later

sorry to bother you, I would like to ask you for some advice. in useMutation, I handle optimistic updates through onMutate, is this “make sense“ ?
code like ⬇️ I have tested it, and it can be run this way. iShot_2024-10-06_17 51 19

cuikaipeng avatar Oct 06 '24 14:10 cuikaipeng