We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a268f commit a12dec9Copy full SHA for a12dec9
react/README.md
@@ -193,6 +193,25 @@ This style guide is mostly based on the standards that are currently prevalent i
193
>
194
<Quux />
195
</Foo>
196
+
197
+ // bad
198
+ {showButton &&
199
+ <Button />
200
+ }
201
202
203
+ {
204
+ showButton &&
205
206
207
208
+ // good
209
+ {showButton && (
210
211
+ )}
212
213
214
+ {showButton && <Button />}
215
```
216
217
## Quotes
0 commit comments