optimisation.react.inlineElements: move children into props and leave children out if the element has none - @spicyj

This commit is contained in:
Sebastian McKenzie
2015-03-31 03:31:27 +11:00
parent 6bc2bfce7d
commit 1ef41b6f32
9 changed files with 30 additions and 29 deletions

View File

@@ -15,8 +15,9 @@ function render() {
var _ref = {
type: "foo",
ref: null,
children: [text],
props: {},
props: {
children: [text]
},
key: null
};
return function () {