Skip to main content
Programmers
OS
Courses
Tutorials
Practice
Jobs
More
Sign In
knowledge
•
correct statement
•
javascript
0s
+15 XP
React State Immutability
Which statement about React state updates is strictly correct?
A
State should be treated as immutable; never mutate state objects directly like `state.count++`
B
Mutating state directly like `state.push(x)` triggers immediate re-renders
C
State updates in React are always 100% synchronous
D
React state variables can only store strings
Get Hint (1/2) [-2 XP]
Exit to Challenges
Submit Answer