A

Admin • 833K Points
Coach

Q. Which is true about props in React?

  • (A) Props are immutable
  • (B) Props can only be strings
  • (C) Props change during component lifetime
  • (D) Props are optional
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

Props are read-only and cannot be modified by the component receiving them.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.