Whenever you're ready, walk me through how you'd approach this.
Tell me about the lifecycle methods in React and how you manage component state.
Explain both class component lifecycle methods and the function component model using useState, useReducer, and useEffect. Cover mounting, updating, unmounting, rendering versus committing, effect cleanup, and the distinction between props and state. Focus on React for web applications, including current function-component practices and legacy class lifecycle APIs.