We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b336b03 commit 9253200Copy full SHA for 9253200
04.conditional-rendering.jsx
@@ -1,5 +1,6 @@
1
/**
2
- * You can’t use regular if/else conditions inside a component definition. The conditional (ternary) operator is your friend.
+ * You can use regular if/else conditions inside a component render. The conditional (ternary) operator is your friend.
3
+ * Although, as the markup gets larger or more varied - it is advisable to split it up into separate components and use them instead.
4
*/
5
6
//if
0 commit comments