Data fetching, caching and state architecture
Comes up in: Frontend system design
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- server-state cache (normalised vs query cache)
- pagination choice
- prefetching
- optimistic updates
- client stores
- URL state
- cache invalidation strategies
- BFF and GraphQL vs REST for the screen
Words you will know
What you will practise
- design the data layer of a social app
Interview questions this answers
- How do you design client-side caching for a feed?