Skip to content

Commit 0e94b70

Browse files
committed
make functional component children a thunk
1 parent ef923be commit 0e94b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/vdom/create-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function createComponent (
7979
return Ctor.options.render.call(
8080
null,
8181
parent.$createElement,
82-
{ props, parent, data, children: normalizeChildren(children) }
82+
{ props, parent, data, children: () => normalizeChildren(children) }
8383
)
8484
}
8585

0 commit comments

Comments
 (0)