weakky
01/29/2018, 6:40 PMhuv1k
01/29/2018, 7:03 PMmatic
01/29/2018, 7:25 PMhuv1k
01/29/2018, 7:39 PMweakky
01/29/2018, 8:07 PMhuv1k
01/29/2018, 8:15 PMhuv1k
01/29/2018, 8:15 PMweakky
01/29/2018, 8:16 PMupdate()
wait for the response to come back, and then updates your store without refetching the updated data. Optimistic updates
are done even before your query is sent