A

Admin • 802.91K Points
Coach

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()
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category React JS
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.