You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hola!
Recently, the team and I discovered a not very clear behavior
We pass an object (best described as something like slots) with functions returning jsx to the function
which poorly satisfies our requirements since createPage is not returning vnode
maybe I don’t fully understand all cases of babel-sugar-functional-vue usage (correct me if I'm wrong please), but I think that this is an undesirable behavior for all users, because the package documentation tells only about the transpilation of arrow functions which return JSX
The text was updated successfully, but these errors were encountered:
Hola!
Recently, the team and I discovered a not very clear behavior
We pass an object (best described as something like slots) with functions returning jsx to the function
but babel transpiles it into a functional component (something like sample below)
which poorly satisfies our requirements since createPage is not returning vnode
maybe I don’t fully understand all cases of babel-sugar-functional-vue usage (correct me if I'm wrong please), but I think that this is an undesirable behavior for all users, because the package documentation tells only about the transpilation of arrow functions which return JSX
The text was updated successfully, but these errors were encountered: