Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5174b31

Browse files
chenglouzpao
authored andcommitted
[Blog] Fix post code snippet display
I think nokogiri (is that what we use?) accidentally escaped this snippet. Simply putting spaces between braces fixes it. (cherry picked from commit 99d23a5)
1 parent 58e38a2 commit 5174b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_posts/2015-02-24-streamlining-react-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ In 0.13 we introduced a new callback-refs API that doesn’t suffer from these p
162162
In React 0.12, and earlier, you could use keyed objects to provide an external key to an element or a set. This pattern isn’t actually widely used. It shouldn’t be an issue for most of you.
163163

164164
```js
165-
<div>{{ a: <span />, b: <span /> }}</div>
165+
<div>{ {a: <span />, b: <span />} }</div>
166166
```
167167

168168
### Problem: Relies on Enumeration Order

0 commit comments

Comments
 (0)