Currently, when attempting to use scoped slots in a functional component, the slot is entirely missing in the context.slots() and context.children. Example: http://codepen.io/kaleb/pen/qrwwye?editors=1010
render(h, ctx) {
var scopedSlots = ctx.scopedSlots();
return h('ul', ctx.props.items.map(i => h('li', {}, scopedSlots.default ? scopedSlots({value: i}) : i)));
}
You can access them from context.data.scopedSlots
More info at https://vuejs.org/v2/guide/render-function.html#The-Data-Object-In-Depth
Most helpful comment
You can access them from
context.data.scopedSlots