79715905

Date: 2025-07-26 18:34:27
Score: 1
Natty:
Report link

Props stand for properties are used to pass data from one component to another in React, usually we pass data from parent to child.

Example-

function Welcome(props) {
  return <h1>Hello, {props.name}!</h1>;

}

function App() {
  return <Welcome name="Ronak" />;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ronak mahajan