πŸ“Š React Js
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

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