by codeLullaby · 19y ago · 0 comments
{update the server first} - {return a value} - {update the UI}
doesn't require much "effort".Its just a good practice. I am just suggesting Paul.
I guess if one was really concerned, you could update the UI immediately like News.YC does, and then change it back or show an error if it does happen to come back failed.