State Management · Junior · Question 47 of 75
What does the name SWR stand for?
- ✓Correct answer: stale-while-revalidate: show cached data, then refresh it in the background
- 2Server Write Replication
- 3State With Reducers
Explanation
The strategy comes from the HTTP Cache-Control extension: return stale data immediately for speed, revalidate in the background, then update the UI. Vercel's SWR library is built around it.