What is React state?
-
A
Mutable data
Correct answer
-
B
Component data
-
C
Parent data
-
D
Static data
Correct answer
A. Mutable data
17 views
Explanation
State is built-in React object that contains data that may change over a component's lifetime.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ