ITC interview question

How do you handle state management in react