UI अवस्था भनेको आपनो अ्यापले स्थानीय रूपमा नियन्त्रण र स्वामित्व गरेको डेटा हो (toggles, form inputs, selected tab)। सर्भर अवस्था भनेको सर्भरमा रहेको र क्लाइन्टमा मात्र क्यास गरिएको डेटा हो (fetched users, products, posts)। यसका मौलिक रूपमा फरक विशेषताहरू छन् र विभिन्न उपकरणहरू चाहिन्छ।
मुख्य भिन्नताहरू
UI state Server state
Ownership you own it (client) the server owns it; client caches
Freshness always current can become STALE (server changed it)
Sync needed? no yes — refetch, invalidate, revalidate
Shared? usually one client shared across users/devices/tabs
Concerns just set/read it caching, loading, errors, retries, dedup
