meteor / react-packages

Meteor packages for a great React developer experience
http://guide.meteor.com/react.html
Other
573 stars 158 forks source link

No Support React 16.2 Fragment Syntax #241

Closed stolinski closed 4 years ago

stolinski commented 6 years ago

Getting errors when using the new <></> syntax for fragments caused by bable-runtime package version.

abernix commented 6 years ago

Thanks for filing an issue. Did you get this solved? Curious if you accidentally closed this since it was 2 minutes after you opened it. :)

If there was anything tricky about it, please report it here for future developers!

klaussner commented 6 years ago

The new fragment syntax only works with Babel 7. https://github.com/meteor/meteor/pull/9440 :eyes:

benjamn commented 6 years ago

@klaussner Good to know!

benjamn commented 6 years ago

Funny that Babel 7 is still in beta, but the React team decided to ship fragments anyway. I'm going to take that as a sign that we can ship Meteor 1.6.1 with Babel 7 beta, too! 😝

stolinski commented 6 years ago

Sorry, I had closed this once I realized that it was a Babel Beta version. I should have communicated that. Glad to hear 1.6.1 will include Babel 7 beta!

copleykj commented 4 years ago

Pretty sure this can be closed at this point. :smile: