Q. Which of the following will NOT cause a component to re-render?
β
Correct Answer: (D)
Local variable change
Explanation: Changing a local variable won't trigger a re-render in React.