Q. What is the default behavior of React when state changes?

  • (A) It re-renders only the changed component
  • (B) It re-renders the whole application
  • (C) It manually updates the DOM
  • (D) It blocks rendering
πŸ’¬ Discuss
βœ… Correct Answer: (A) It re-renders only the changed component
Explanation: React efficiently re-renders only the component whose state changed.
Explanation by: Mr. Dubey
React efficiently re-renders only the component whose state changed.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
81
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate