What is the purpose of the `useState` hook in React? | useState | react Interview Questions | NextRound.in