EPAM Systems Interview Question

How do you manage the state in React?