Pregunta de entrevista de Turing

How do you manage state in reactjs?