Course contentsShow
React
Lesson 1795 of 2,39642. Data Fetching LibrariesPro lesson

Optimistic Updates: The Pattern

Update the cache immediately before the mutation resolves to make the UI feel instant, then rollback on error.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.