Turing interview question

How do you manage state in reactjs?