Queries and Loading Error states\
0:00 Introduction to React Query
6:00 Introduction to this Course
9:03 First project Blog-em Ipsum
14:41 Creating Queries with useQuery
22:28 Handling Loading and Error States
29:30 React Query Dev Tools
34:27 staleTime vs cacheTime
, Pre-fetching and Mutations\
40:59 Intro to Code Quizzes
43:33 Code Quiz! Create Query for Blog Comments
50:35 Query Keys
56:57 Pagination
1:03:02 Pre-fetching Data
1:09:52 isLoading vs isFetching
1:14:47 Intro to Mutations
1:18:37 Delete Post with useMutation
1:25:25 Code Quiz! Mutation to Update Post Title
1:29:26 Summary React Query Basics
Queries for Loading Data Just in Time\
1:32:27 Introduction to Infinite Scroll
1:36:58 Code Quiz! Set up Infinite SWAPI for React Query
1:42:25 Intro to useInfiniteQuery
1:48:45 Infinite Scroll Diagram
1:53:16 Write useInfiniteQuery Call
1:58:25 InfiniteScroll Component
2:04:42 useInfiniteQuery Fetching and Error states
2:08:49 Code Quiz! Infinite Species
2:15:58 Summary Infinite Scroll
Query in Larger App Setup, Centralization, Custom Hooks\
2:18:52 Intro to Lazy Days Spa App
2:25:13 Lazy Days Spa App Code Orientation
2:30:56 Install and set up React Query
2:37:57 Custom Query Hook useTreatments
2:44:13 Fallback Data
2:46:25 Centralized Fetching indicator with useIsFetching
2:51:08 onError Handler for useQuery
2:56:41 onError Default for Query Client
3:03:28 Code Quiz! Custom Hook for useStaff
3:08:17 Summary Larger App Setup, Centralization, Custom Hooks
Features I Pre-Fetching and Pagination\
3:11:17 Adding Data to the Cache
3:15:32 Pre-Fetching Treatments (concepts)
3:20:43 Pre-Fetching Treatments (syntax)
3:26:06 Intro to useAppointments Custom Hook
3:36:52 useQuery for useAppointments
3:40:45 Query Keys as Dependency Arrays
3:47:06 Code Quiz! Pre-Fetch Appointments
3:54:30 Summary Query Features I
Features II Transforming and Re-Fetching Data\
3:57:55 Filtering Data with the useQuery select Option
4:06:11 Code Quiz! Selector for useStaff
4:12:09 Intro to Re-Fetch
4:18:09 Update Re-Fetch Options
4:23:23 Global Re-Fetch Options
4:28:58 Overriding Re-Fetch Defaults and Polling
4:33:50 Polling Auto Re-Fetching at an Interval
4:38:28 Summary Query Features II
Query and Authentication\
4:39:40 Intro to React Query and Authentication
4:49:25 useAuth, useUser and useQuery
4:54:03 Integrate Auth with React Query
5:00:03 Persist User Data in localStorage
5:04:57 initialData from localStorage for useQuery
5:08:38 Dependent Queries userAppointments
5:19:15 Query Client removeQueries method
5:22:32 Summary React Query and Auth
Using React Query to Update Data on the Server\
5:24:53 Introduction to Mutations and Mutations Global Settings
5:29:24 Custom Mutation Hook useReserveAppointments
5:35:41 Invalidating Query after Mutation
5:41:10 Query Key Prefixes
5:46:53 Code Quiz! Mutation to Cancel an Appointment
5:53:55 Update User and Query Cache with Mutation Response
6:03:29 Intro to Optimistic Updates in React Query
6:10:10 Making a Query Cancel-able
6:16:38 Writing Optimistic Update
6:29:00 Summary Mutations
React Query\
6:30:25 Intro to Testing React Query
6:32:33 Testing Setup, including Mock Service Worker
6:37:06 Query Client and Provider in Tests
6:46:10 Testing Rendered Query Data
6:49:31 Code Quiz! Test Rendered Staff Data
6:53:13 Testing Query Errors
7:04:27 Code Quiz! Staff Query Errors
7:08:47 Testing Mutations
7:17:14 Code Quiz! Test Cancel Appointment Mutation
7:21:37 Intro to Testing Custom Hooks
7:25:12 Test Appointments Filter