Q. What happens if you update state directly in React?
β
Correct Answer: (C)
The component won’t re-render
Explanation: React won't detect changes if state is mutated directly instead of using setState.