Arimac Digital interview question

Why do you use useState in React?