PureCode Software interview question

How do you manage state in a large React application?