Erik Aybar

Optimistic UI Updates in React ( course)

July 23, 2018

It’s been out for several months now, but my first course was recently released πŸŽ‰ The course is Optimistic UI Updates in React where I illustrate by example creating more responsive, snappier user interfaces by leveraging optimistic UI updates specifically with React although the concept applies generally regardless of technologies and frameworks involved.

I wrote an accompanying Medium post that walks through the first half of the course and the first example of breaking down the process of building a Twitter-inspired user interface where a user can β€œlike” a tweet and explore some of the challenges of optimistically updating the UI to reflect:

  1. Whether or not the current user has liked a tweet
  2. The current total number of likes a tweet has

Accounting for reverting state upon request failures and a handful of edge cases along the way.

Related reading if you want to dive deeper on the topic of Optimistic UI updates: True Lies Of Optimistic User Interfaces

View the entire Course here:

Erik Aybar

πŸ‘‹πŸ½ Hi! I'm Erik Aybar. I'm a software person working remotely from St. George, Utah. This is my blog.