πŸ“Š React Js
Q. Which of the following will NOT cause a component to re-render?
  • (A) State change
  • (B) Prop change
  • (C) Context change
  • (D) Local variable change
πŸ’¬ Discuss
βœ… Correct Answer: (D) Local variable change

Explanation: Changing a local variable won't trigger a re-render in React.

Explanation by: Mr. Dubey
Changing a local variable won't trigger a re-render in React.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate