Back to search

Prop drilling, default props, passing functions, children, JSX, and composition

React props can carry values, callbacks, children, and even JSX, but deep prop chains can become hard to manage.

React Medium Theory

Prop drilling, default props, passing functions, children, JSX, and composition

React props can carry values, callbacks, children, and even JSX, but deep prop chains can become hard to manage.

  • Functions can be passed as props
  • `children` enables composition
  • Prop drilling can signal a state-sharing design issue

Prop drilling, default props, passing functions, children, JSX, and composition