Google AI Professional Certificate - Learn AI Skills That Get You Hired
MIT Sloan AI Adoption: Build a Playbook That Drives Real Business ROI
Overview
Syllabus
Intro
Welcome
Starter Code & User Stories
Send access token with a baseQuery
Test the baseQuery requests
baseQueryWithReauth wrapper function
Test the baseQueryWithReauth requests
Fix for useQuery when it doesn't unsubscribe
usePersist custom hook
Add Persist toggle to Login form
Quick CSS addition
Persist Login component
Set credentials with onQueryStarted
Add PersistLogin to App.js
Test the Persistent Login State
Terminology 'labels' vs 'cache entries': When different values are placed here, different caches are created. In the upcoming 'Refactor' chapter 12 video, we insure all queries use the same cache entry value to avoid creating additional caches.
Taught by
Dave Gray