From 7aab61fffa2c61d352564e856f82576b69b3f64e Mon Sep 17 00:00:00 2001 From: kevin moore Date: Wed, 18 Oct 2017 13:11:02 -0400 Subject: [PATCH] Add etymological background to "props". (#177) --- content/docs/components-and-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/components-and-props.md b/content/docs/components-and-props.md index 3bcf80603..7152deef9 100644 --- a/content/docs/components-and-props.md +++ b/content/docs/components-and-props.md @@ -30,7 +30,7 @@ function Welcome(props) { } ``` -This function is a valid React component because it accepts a single "props" object argument with data and returns a React element. We call such components "functional" because they are literally JavaScript functions. +This function is a valid React component because it accepts a single "props" (which stands for properties) object argument with data and returns a React element. We call such components "functional" because they are literally JavaScript functions. You can also use an [ES6 class](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes) to define a component: