Skip to content

Commit 27d13c3

Browse files
committed
fixes to code and sentence in 8.4
1 parent 2213e6a commit 27d13c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

react-state/8.4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ When a component is purely a result of `props` alone, no `state`, the component
66
77
Having look at the same code not using JSX should clarify what is going on.
88

9-
```
9+
```js
1010
var MyComponent = function MyComponent(props) {
1111
return React.createElement(
1212
"div",
@@ -29,4 +29,4 @@ The code example below demonstrates a stateless function component making use of
2929
3030
#### Notes
3131

32-
* Make as many of your components as possible, as stateless components
32+
* Make as many of your components as possible, as stateless components.

0 commit comments

Comments
 (0)