Skip to main content

Props in React

Learn Props in React (Fundamentals of React, ReactJS) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What are Props? • Props (short for "properties") are how a parent component passes data DOWN to a child component. • Props are read-only — a child component must never modify the props it receives; React relies on this to keep data flow predictable ("one-way data flow"). • Props are passed like HTML attributes, and received by the child as a single object argument (conventionally named props ).

More lessons in Fundamentals of React