|
@ -152,6 +152,7 @@ var content = Container(null, window.isLoggedIn ? Nav(null) : Login(null)); |
|
|
### Comments |
|
|
### Comments |
|
|
|
|
|
|
|
|
It's easy to add comments within your JSX; they're just JS expressions: |
|
|
It's easy to add comments within your JSX; they're just JS expressions: |
|
|
|
|
|
|
|
|
```javascript |
|
|
```javascript |
|
|
var content = <Container>{/* this is a comment */}<Nav /></Container>; |
|
|
var content = <Container>{/* this is a comment */}<Nav /></Container>; |
|
|
``` |
|
|
``` |
|
|