AbhayVel / yogesh911

0 stars 0 forks source link

What is Props in react? #37

Open YogeshG85 opened 1 year ago

YogeshG85 commented 1 year ago

In React, "props" are a way to pass data from a parent component to a child component.

Props are essentially parameters that a component receives, and they are immutable, meaning that the component receiving the props cannot modify them. Instead, the component can use the props to render its content or pass them down to its child components.