Diconium interview question

how do you manage state in React?