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

Optional Chaining #2452

Closed
steida opened this issue May 16, 2018 · 6 comments
Closed

Optional Chaining #2452

steida opened this issue May 16, 2018 · 6 comments

Comments

@steida
Copy link

steida commented May 16, 2018

Parse error: SyntaxError: This experimental syntax requires enabling the parser plugin: 'optionalChaining' (68:33) in "components/CreateWeb.js"

Not sure why it happens, but babel-eslint has the same problem babel/babel-eslint#595

@sibelius
Copy link
Contributor

This is fixed on master I guess

@sibelius
Copy link
Contributor

fixed here 4691145

by @dwwoelfel

@steida
Copy link
Author

steida commented May 16, 2018

@sibelius Is is possible to use Relay from master somehow easily?

@JCMais
Copy link

JCMais commented May 17, 2018

yarn add relay@facebook/relay#master

version can be used as github/repo#commitsh-value
the commit it was downloaded is added to yarn.lock, so running yarn upgrade updates to latest revision from master.

@steida
Copy link
Author

steida commented May 19, 2018

@JCMais Sorry for of topic, but I wonder how it works? Is it yarn magic?

@JCMais
Copy link

JCMais commented May 19, 2018

npm in reality, it can resolve to any package on github. But this is probably not going to work with relay, mainly because it's a monorepo, and does not store transpiled sources on GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants