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 fragments support #62

Closed
sapegin opened this issue Nov 29, 2017 · 2 comments
Closed

JSX fragments support #62

sapegin opened this issue Nov 29, 2017 · 2 comments

Comments

@sapegin
Copy link

sapegin commented Nov 29, 2017

JSX has a new syntax for fragments:

render() {
  return (
    <>
      <ChildA />
      <ChildB />
      <ChildC />
    </>
  );
}

Is this something you want to support in Buble?

@nathancahill
Copy link
Collaborator

Yes, I'd love to see this, as Babel supports it and Preact is hoping to support it.

@adrianheine
Copy link
Member

I started working on this, but I think there is a bug in the acorn-jsx implementation, see acornjs/acorn-jsx#83 (comment).

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

3 participants