optimisation.react.inlineElements: move children into props and leave children out if the element has none - @spicyj
This commit is contained in:
@@ -15,8 +15,9 @@ function render() {
|
||||
var _ref = {
|
||||
type: "foo",
|
||||
ref: null,
|
||||
children: [text],
|
||||
props: {},
|
||||
props: {
|
||||
children: [text]
|
||||
},
|
||||
key: null
|
||||
};
|
||||
return function () {
|
||||
|
||||
Reference in New Issue
Block a user