Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

What is the purpose of state in React?

Click the option that best answers the question.

  • To store and manage data that can change over time
  • To pass data between components
  • To define the structure and appearance of the UI
  • To handle user events