2.5.16
https://jsfiddle.net/3h7c204p/5/
simply put v-show="false" at functional component
component not visible
component still visible
wrapping it with additional div is workaround for now.
i guess this is not intended
with functional components you need to pass down the context.data to createElement:
render: function(createElement, context) {
console.log('Rendering Foo')
return createElement({
template: context.props.foo
}, context.data)
@posva Thank you for your answer
but, actually i used only <template functaionl> and doesn't have render function in my real code (used single file component)
so is this vue-loader related problem?
yes
Workaround: use v-if instead of v-show.
I use v-if in combination with the
Most helpful comment
yes