Is props short for "properties"?


#1

Question

In the context of this lesson, is props short for “properties”?

Answer

Yes, props is short for the word “properties”.

One possible reason for this naming is that props are essentially JavaScript objects, and JavaScript objects contain properties. Furthermore, when we pass props from a component to a child component, the props are sent as an object containing the “properties” of the component.


FAQ: this.props - this.props