Optimistic vs Pessimistic Rendering

optimism at its finest.
  • Twitter renders user’s Like on User Interface
  • a call is sent to the server with the user’s Like
  • the server saves the user’s Like and usually will return an error message in case of a failure.
  • a call is sent to the server with the user’s job application
  • the server saves the user’s application and returns a success message if that call to the server was successful , or an error message in case of a failure.

Full-Stack Software Engineer / New York City / www.danielcreyes.dev