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

Allow use react elements after yield statement #31

merged 1 commit into from Jun 20, 2016


None yet
2 participants
Copy link

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 ( 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.