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

(javascript/typescript) Inline {} code may also contain mixed JS/XML syntax: #2721

Open
joshgoebel opened this issue Oct 1, 2020 · 1 comment
Labels
enhancement An enhancement or new feature language

Comments

@joshgoebel
Copy link
Member

Inline {} code may also contain mixed JS/XML syntax:

const Count = ({ count }) => {
  return (
    <div>
      {count > 10 ? <BigCount /> : <SmallCount />}
    </div>
  );
}

Originally posted by @luisherranz in #2324 (comment)

@joshgoebel joshgoebel added enhancement An enhancement or new feature language labels Oct 1, 2020
@joshgoebel
Copy link
Member Author

Pulling this out into a separate issue as I'm not sure I want to deal with this on the first pass of improved JSX support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature language
Projects
None yet
Development

No branches or pull requests

1 participant