Optimistic UI and Clobbering
What is Optimistic UI? Optimistic UI is a front-end development paradigm wherein, after making a mutation request to an API, the client updates the UI optimistically assuming that the request is successful.Optimistic UISee the example in the GIF below. It displays a counter value from the database and the increment button increments it. The counter on the left implements the traditional…
This is an excerpt. The full article continues at Hasura.