Post

Your app shouldn't show a loading spinner when the user clicks a like button. Here's how optimistic UI works: 1. User clicks like 2. UI updates immediately 3. Request happens in background 4. If it fails: undo + show error

0 reposts4 likes

Agree, except for things like payment processing- don’t want customers to close the tab thinking an order went through when it hasn’t.