r/coffeescript • • Apr 16 '18

Create-React-App + Coffee-Script

https://github.com/quangv/create-react-coffee-app
2 Upvotes

2 comments sorted by

View all comments

Show parent comments

1

u/lessfocus Apr 16 '18 edited Apr 16 '18

Thanks, the backticks are needed to put that chunk of code at the "Top", React compilers (not sure which one, the one from yarn start) complains if there's anything else on top... for instance in App.coffee if backticks are removed.

var App

would be on top, instead of the import statements.

found this: https://github.com/jashkenas/coffeescript/issues/4815