←
TECH DEBT TRIBUNAL
Missing Loading and Error States in React
⏱ 00:00
Junior · ~20 min
Explorer
Briefing
📂 src/components/ListingsPage
📄
ListingsPage.tsx
📄
ListingsPage.module.css
ListingsPage.tsx
ListingsPage.module.css
Loading...
Live Analysis
Cyclomatic Complexity
LIVE
1
/ 4 target
Complexity is within acceptable limits.
Objectives
PENDING
2
/ 4
✓ Add isLoading state that is true during fetch
○ Add error state and catch fetch errors
✓ Show skeleton or loading UI when isLoading is true
○ Show retry button in error state
Acceptance Tests
React Testing Library
—
/ 14
Submit to run acceptance suite.
▶ Submit Refactor