Skip to content

Commit

Permalink
Only fix a small wrong key in example (#8976)
Browse files Browse the repository at this point in the history
Only fix a small wrong key in example
(cherry picked from commit de673bc)
  • Loading branch information
moacirosa authored and gaearon committed Feb 13, 2017
1 parent b53a582 commit 9e5ad59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/introducing-jsx.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ JSX produces React "elements". We will explore rendering them to the DOM in the

You can embed any [JavaScript expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Expressions) in JSX by wrapping it in curly braces.

For example, `2 + 2`, `user.name`, and `formatName(user)` are all valid expressions:
For example, `2 + 2`, `user.firstName`, and `formatName(user)` are all valid expressions:

```js{12}
function formatName(user) {
Expand Down

0 comments on commit 9e5ad59

Please sign in to comment.