State Management and Data Fetching · Real-world situation · Intermediate
Handling expired access tokens during API calls
API calls fail with 401 when access tokens expire, and users get logged out unexpectedly. How would you handle token refresh?
2:00