medium10 pts · first answer countsstate-managementux
Optimistic update fails
When a user clicks Like, the UI shows the like immediately (optimistic update) and then calls the API. The API returns 500. What should the app do?
Discussion 0
Join free to post in the discussion.
Related questions
- Keys for rows loaded from an APIFull Stack Developer
- A store hook that re-renders too oftenFrontend Developer
- Optimistic like button done rightFrontend Developer
- Reading a mutable store during renderFrontend Developer
- When to ask for permissionsMobile App Developer
- Tabs that forget their scroll positionMobile App Developer
- Spinner that never stopsMobile App Developer
- Right keyboard for a phone numberMobile App Developer