facebook/react — pull request #742 by spicyj (2013-12-29 19:22:21+00:00)
Title: Coalesce adjacent strings into one text node

Depends on #741.

Should make #480 a little less painless. This brings us a lot closer to pretending we're in a world where text components don't exist at all; I think this is a lot nicer overall.

With this, `

{['A', ' ', 'B']}

` turns into `

A B

` instead of `

A B

`.

The only "weird" thing that I can see here is that `

x{flag && }

` will toggle between rendering to `

x

` and `

x

`.