Skip to content

Commit 6e6af0a

Browse files
davidhu2000flarnie
authored andcommitted
Add more details in jsx-in-depth.md (facebook#9006)
* jsx-in-depth.md add ternary statement for javascript expressions section * jsx-in-depth.md add explanation to get falsey values for props * update jsx-in-depth.md * ensure links work locally, remove section about falsey prop values * Fix links
1 parent c388391 commit 6e6af0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/docs/jsx-in-depth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ function NumberDescriber(props) {
196196
}
197197
```
198198

199+
You can learn more about [conditional rendering](/react/docs/conditional-rendering.html) and [loops](/react/docs/lists-and-keys.html) in the corresponding sections.
200+
199201
### String Literals
200202

201203
You can pass a string literal as a prop. These two JSX expressions are equivalent:

0 commit comments

Comments
 (0)