Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 30, 2016
1 parent 99ea0f8 commit 51aa3e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/vdom/create-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 51aa3e5

Please sign in to comment.