Caching with TanStack Vue Query

Lessons

1. Querying and Caching

8:05

2. Query Options

2:27

3. Mutations

4:21

4. Optimistic Update

3:43

Optimistic Update

By the time that the Add button is clicked, we already have all the information locally to show the new todo item on the list without waiting for the server to resolve this. Updating the client-side state with some newly-submitted data that