T
TanStack3y ago
plain-purple

Optimistic update with a patch method

Hello there, i'm trying a optimistic update (patch), it look like working good but I don't really know if my code is good for that. The goal is to update the status of my users. If anyone can tell my if the I do the thing are good or not. I'm wondering too if is normal that i can't get the total info of my user in the 'previousUser' ? It look like it return nothing.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?