πŸ“Š React Js
Q. Which method is used to pass props to a component?
  • (A) this.props()
  • (B) props.push()
  • (C) Passing them as attributes
  • (D) props.assign()
πŸ’¬ Discuss
βœ… Correct Answer: (C) Passing them as attributes

Explanation: Props are passed to components like HTML attributes in JSX.

Explanation by: Mr. Dubey
Props are passed to components like HTML attributes in JSX.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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