From 51aa3e594ac0e194b8a0daa3b91a685287b27b07 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 30 Sep 2016 14:18:27 -0400 Subject: [PATCH] comment --- src/core/vdom/create-component.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/vdom/create-component.js b/src/core/vdom/create-component.js index f9642e018e9..2b4a03e9bb7 100644 --- a/src/core/vdom/create-component.js +++ b/src/core/vdom/create-component.js @@ -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,