Q. What will happen if you update the state directly without using setState in a class component?
β
Correct Answer: (A)
The component will not re-render
Explanation: Directly modifying state does not trigger a re-render; setState should be used.