Q. In React, which statement about props is correct?

  • (A) Props are read-only and should not be modified by the component receiving them
  • (B) Props can be modified inside the child component
  • (C) Props are used to manage component state
  • (D) Props are only used in class components
πŸ’¬ Discuss
βœ… Correct Answer: (A) Props are read-only and should not be modified by the component receiving them
Explanation: Props are immutable from the perspective of the child component.
Explanation by: Mr. Dubey
Props are immutable from the perspective of the child component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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