Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikeyhew opened this issue Nov 5, 2019 · 4 comments
Open

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

mikeyhew opened this issue Nov 5, 2019 · 4 comments

Comments

@mikeyhew
Copy link

mikeyhew commented Nov 5, 2019

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 mikeyhew changed the title JSX fragment syntax JSX fragment syntax (<> ... </>) Nov 5, 2019
@mikeyhew
Copy link
Author

mikeyhew commented Nov 5, 2019

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.

@guohuihot
Copy link

I also have this need.
How to solve

@zhuzhuaicoding
Copy link

use [] can do

@whaaaley
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants