babel-plugin-transform-vue-jsx icon indicating copy to clipboard operation
babel-plugin-transform-vue-jsx copied to clipboard

JSX fragment syntax (<> ... </>)

Open mikeyhew opened this issue 4 years ago • 4 comments

I'm not too familiar with Vue, only just started using it for work, but would it be possible for this plugin to support JSX fragment syntax? For example

render() {
  return <>Some text</>;
}

mikeyhew avatar Nov 05 '19 18:11 mikeyhew

Hey, really sorry about all the issues I created! I kept getting a 500 error from GitHub so I assumed it didn't get created, and didn't think to check the issues page to see.

mikeyhew avatar Nov 05 '19 18:11 mikeyhew

I also have this need. How to solve

guohuihot avatar Apr 26 '20 03:04 guohuihot

use [] can do

zhuzhuaicoding avatar Jul 17 '20 11:07 zhuzhuaicoding

I would like this as well. I'm moving components to/from non-react/vue. At the very least maybe provide a way to specify a fragment pragma?

whaaaley avatar May 17 '22 01:05 whaaaley