Pregunta de entrevista de Allstate

How is state managed in react js