Skip to content

Commit

Permalink
fixes to code and sentence in 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
codylindley committed Jan 26, 2017
1 parent 2213e6a commit 27d13c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-state/8.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ When a component is purely a result of `props` alone, no `state`, the component
Having look at the same code not using JSX should clarify what is going on.

```
```js
var MyComponent = function MyComponent(props) {
return React.createElement(
"div",
Expand All @@ -29,4 +29,4 @@ The code example below demonstrates a stateless function component making use of
#### Notes

* Make as many of your components as possible, as stateless components
* Make as many of your components as possible, as stateless components.

0 comments on commit 27d13c3

Please sign in to comment.