Concept Flow - Why state management differs in Next.js
Start: User interacts with UI
Client Component State updates
Re-render Client Component
Server Component fetches fresh data
Server sends updated props to Client
Client merges Server and Client state
UI reflects combined state
End
Next.js splits UI into Server and Client components, so state lives differently on each side and must sync carefully.