Pregunta de entrevista de Elastic

How do you manage state in React?