Why not mention that "props" is short for properties?


#1

I thought it was strange that when introducing “props” it never mentioned that it is short for properties. Then, later in the exercise, there is even this:

A curmudgeonly clarification about grammar:
You may have noticed some loose usage of the words prop and props. Unfortunately, this is pretty inevitable.

props is the name of the object that stores passed-in information. this.props refers to that storage object. At the same time, each piece of passed-in information is called a prop. This means that props could refer to two pieces of passed-in information, or it could refer to the object that stores those pieces of information :frowning:

Couldn’t this all be avoided by using “properties” or “property” when referring to “passed-in information”?


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.