This commit is contained in:
Evan You 2016-09-30 14:18:27 -04:00
parent 99ea0f8229
commit 51aa3e594a

View File

@ -102,6 +102,8 @@ function createFunctionalComponent (
}
return Ctor.options.render.call(
null,
// ensure the createElement function in functional components
// gets a unique context - this is necessary for correct named slot check
bind(createElement, { _self: Object.create(context) }),
{
props,