Whenever you're ready, walk me through how you'd approach this.
How do you manage state in a React application?
Explain how you choose among local component state, lifted state, Context, and a dedicated state library. Cover server state, state ownership, updates, testing, and avoiding unnecessary re-renders.