Open FranckFreiburger opened 5 years ago
I have a component factory that use JSX.
export default userOptions => { ... return { functional: true, render: function(h, { data, props }) { return <span class={...
is transformed into:
export default { functional: true, render: (h, userOptions) ...
Without using the arrow function, everything works well.
versions: node 11.11.0 babel 7.4.0 webpack 4.29.6 vue.js 2.6.10 babel-plugin-transform-vue-jsx version: 4.0.1
any status about this issue ?
ping
I have a component factory that use JSX.
is transformed into:
Without using the arrow function, everything works well.
versions: node 11.11.0 babel 7.4.0 webpack 4.29.6 vue.js 2.6.10 babel-plugin-transform-vue-jsx version: 4.0.1