CodeZettaInterview Hub

React · State Management · Senior · Concept

Server state vs client state?

Short Interview Answer

Server state is persisted remotely and cached (React Query); client state is ephemeral UI.

Detailed Explanation

Don't duplicate server lists in Redux without a strategy. Use query libraries for fetching/caching.

Did you know this answer?