Glossary term
What is server state? Meaning for developers
In Senior Frontend Depth
Data that lives on the server and is only copied into the UI. It needs refresh, dedupe and invalidation. Use TanStack Query or SWR.
Learn it properly · Senior Frontend DepthLesson 3: State Management Decisions: Local, Context, Server Cache, Global StoreHow to sort state into kinds (UI, server, URL, form) and pick a tool for each kind, instead of arguing about libraries.In React in Depth
Data whose real home is a server, so the copy on screen can be old, shared, late or missing.
Learn it properly · React in DepthLesson 5: Data Fetching, Caching and Server Statefetch in effects and its bugs, race conditions, loading and error states, TanStack Query ideas, and Suspense with use().