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

Add support for JSX fragments #208

Closed
alangpierce opened this issue May 7, 2018 · 0 comments
Closed

Add support for JSX fragments #208

alangpierce opened this issue May 7, 2018 · 0 comments

Comments

@alangpierce
Copy link
Owner

Example code:

const e = (
  <>
    <div />
    <span />
  </>
);

Playground link

Similar to #207, this should be configurable. Like the Babel plugin (docs), the JSX element should be called React.Fragment by default and configurable, probably as jsxFragmentPragma.

alangpierce added a commit that referenced this issue May 19, 2018
Fixes #208

Configuration for the pragma will wait until I implement #207.
alangpierce added a commit that referenced this issue May 19, 2018
Fixes #208

Configuration for the pragma will wait until I implement #207.
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

1 participant