Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitch walkthrough example fails #85

Closed
bborn opened this issue Jan 31, 2018 · 4 comments
Closed

Glitch walkthrough example fails #85

bborn opened this issue Jan 31, 2018 · 4 comments

Comments

@bborn
Copy link

bborn commented Jan 31, 2018

Heads up:
screen shot 2018-01-31 at 10 00 40 am

@jeremy
Copy link
Contributor

jeremy commented Jan 31, 2018

Fixed by hotwired/stimulus-starter#1. Glitch was updated, too, but won't work if you already remixed using the old version. Try again by remixing https://glitch.com/edit/#!/stimulus-starter from scratch!

@davidalejandroaguilar
Copy link

The Installation guide on the Babel section mentions that you need to use either the transform-class-properties plugin or use the stage-2-preset for it to transpile class properties correctly.

@javan
Copy link
Contributor

javan commented Jan 31, 2018

Glitch's code editor fails to recognize the static targets class property as valid JavaScript and displays an error, which is unfortunate, but it does work. Babel compiles the code correctly.

@javan
Copy link
Contributor

javan commented Jan 31, 2018

Moving this issue to Glitch's forum: https://support.glitch.com/t/editor-parsing-error-with-static-class-properties/2831

Thanks for the heads up!

@javan javan closed this as completed Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants