FrontendBeginner
Props
PronunciationPROPS
Definition
Short for "properties": the inputs a parent passes down to a component, like a function's arguments.
Where you hear it
React tutorials and code reviews.
Examples
Pass the user name to the card through props.
Props are read-only, so do not change them inside the component.
Common mistake
Passing props through five levels of components ("prop drilling"). Consider context or a state library.