Q. What does the term 'prop drilling' mean in React?

  • (A) Passing props through many levels of components unnecessarily
  • (B) Drilling holes in the UI
  • (C) Using CSS selectors in props
  • (D) Deep cloning props
πŸ’¬ Discuss
βœ… Correct Answer: (A) Passing props through many levels of components unnecessarily
Explanation: Prop drilling is when intermediate components pass props only to pass them further down.
Explanation by: Mr. Dubey
Prop drilling is when intermediate components pass props only to pass them further down.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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