Skip to content

Commit 1b58e79

Browse files
committed
slightly soften language about syntax noise in react comparison
1 parent e85fd9d commit 1b58e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/comparison.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ render () {
7373

7474
This is an extremely common use case, but using JSX, there are a few problems that may not be immediately obvious:
7575

76-
- __Syntax Noise__: All the curly braces add a lot of visual noise, but what's worse is that while writing it, you have to frequently make decisions about how to minimize their visual impact, slowing development.
76+
- __Syntax Noise__: All the curly braces add visual noise, but what's worse is that while writing it, you have to frequently make decisions about how to minimize their visual impact, slowing development.
7777

7878
- __Cajoling JavaScript into Expressions__: The example uses a ternary rather than an if statement here, which arguably makes the code less readable, but is still possibly the best of bad options. The only alternatives include hoisting this logic out of its context or wrapping an if statement in an immediately-invoked function expression. Do expressions will help a little when they're a more stable feature, but they're currently at stage 0.
7979

0 commit comments

Comments
 (0)