This repository has been archived by the owner. It is now read-only.

Allow use react elements after yield statement #31

Merged
merged 1 commit into from Jun 20, 2016

Conversation

Projects
None yet
2 participants
@eldereal
Copy link
Contributor

eldereal commented May 12, 2016

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.

@kittens kittens merged commit 8977d8c into babel:master Jun 20, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.