πŸ“Š React Js
Q. How do you pass data from parent to child component in React?
  • (A) Using setState
  • (B) Using props
  • (C) Using refs
  • (D) Using context
πŸ’¬ Discuss
βœ… Correct Answer: (B) Using props

Explanation: Props are used to pass data from parent to child components.

Explanation by: Mr. Dubey
Props are used to pass data from parent to child components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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