Q. What will happen if you change the state directly without setState or useState?
β
Correct Answer: (B)
The component will not re-render
Explanation: React will not re-render if state is mutated directly without using setState or the setter function from useState.