mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[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 99d23a54bc)
This commit is contained in:
committed by
Paul O’Shannessy
parent
58e38a2e8c
commit
5174b31d3d
@@ -162,7 +162,7 @@ In 0.13 we introduced a new callback-refs API that doesn’t suffer from these p
|
||||
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.
|
||||
|
||||
```js
|
||||
<div>{{ a: <span />, b: <span /> }}</div>
|
||||
<div>{ {a: <span />, b: <span />} }</div>
|
||||
```
|
||||
|
||||
### Problem: Relies on Enumeration Order
|
||||
|
||||
Reference in New Issue
Block a user