React inlining: Fix transform for computed key

(This was broken before my last change too.)
This commit is contained in:
Ben Alpert
2015-11-11 15:23:59 -08:00
parent 0b7b2e4a3a
commit 07a5bcc04a
3 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1 @@
<Foo key={"foo" + "baz"} data-value="bar" />

View File

@@ -0,0 +1,3 @@
babelHelpers.createRawReactElement(Foo, "foo" + "baz", babelHelpers.defaultProps(Foo.defaultProps, {
"data-value": "bar"
}));