Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Allow use react elements after yield statement #31

Merged
merged 1 commit into from
Jun 20, 2016

Conversation

eldereal
Copy link
Contributor

Issue #30 is sent
Write jsx elements directly after yield statement would cause a syntax error (Unexpected token). But according to jsx spec (https://facebook.github.io/jsx/) and ECMAScript spec. JSXElement is a PrimaryExpression which can be used after yield statement.

@sebmck sebmck merged commit 8977d8c into babel:master Jun 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants