Q. What is the purpose of the React.StrictMode component?

  • (A) To highlight potential problems in an application during development
  • (B) To enable production optimizations
  • (C) To enforce CSS styling
  • (D) To disable lifecycle methods
πŸ’¬ Discuss
βœ… Correct Answer: (A) To highlight potential problems in an application during development
Explanation: StrictMode helps detect unsafe lifecycle methods, legacy API usage, and more.
Explanation by: Mr. Dubey
StrictMode helps detect unsafe lifecycle methods, legacy API usage, and more.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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