useOptimistic treats confirmed state as the base and layers optimistic updates over it while they are pending.
Question 18 of 20 in useOptimistic Quiz