B4Coder
0%
LessonAbout 7 min

Chapter 12 · Lesson 5 of 6

05. useOptimistic: show it straight away

Show a change at once, before the slow save finishes, with useOptimistic, then show the real result when it arrives.

Opening the lesson…