镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(7410): Support JSX Element as JSX Attribute Value - #47994

Merged
Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:mainfrom
a-tarasyuk:fix/7410
May 11, 2022
Merged

Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:mainfrom
a-tarasyuk:fix/7410

Conversation

@a-tarasyuk

Copy link
Copy Markdown
Contributor

Fixes #7410

JSXAttributeValue:
    " JSXDoubleStringCharactersopt "
    ' JSXSingleStringCharactersopt '
    { AssignmentExpression }
    JSXElement
    JSXFragment

@RyanCavanaugh

Copy link
Copy Markdown
Member

Waiting for final confirmation on react/jsx#53 before merging/closing.

Comment thread src/compiler/types.ts Outdated
@RyanCavanaugh

Copy link
Copy Markdown
Member

Raghav Thind (@raghavthind2005) bulk-"approving" changes like what you're doing here is a little spammy; please refrain from doing this

@sandersn

Copy link
Copy Markdown
Member

Ryan Cavanaugh (@RyanCavanaugh) are we still waiting on confirmation from facebook/jsx to merge this?

@RyanCavanaugh

Copy link
Copy Markdown
Member

Maybe let's just merge it. If the JSX spec changes, we'll have the same mess to clean up as Babel, which is fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Support JSX Element as JSX Attribute Value

6 participants