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

Don't use spread operator #283

Merged
merged 1 commit into from
Oct 2, 2018
Merged

Don't use spread operator #283

merged 1 commit into from
Oct 2, 2018

Conversation

silvenon
Copy link
Contributor

@silvenon silvenon commented Oct 2, 2018

Importing @mdx-js/runtime in create-react-app v1 fails because of spread operators.

I didn't dive deep enough to understand why, though.

Fixes #281.

Importing @mdx-js/runtime in create-react-app v1 fails because of spread
operators.
@vercel
Copy link

vercel bot commented Oct 2, 2018

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Copy link
Member

@johno johno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎃

@johno
Copy link
Member

johno commented Oct 2, 2018

I just realized we should figure out what node version is being run, this shouldn't be required 🤔

@silvenon
Copy link
Contributor Author

silvenon commented Oct 2, 2018

I was running the example in #281 using latest Node, so I was really surprised to see the same error. I’m not that familiar with CRA, all I know is that importing the runtime using v2 works. 🧐

I think it’s best to get this fix merged and released, then afterwards I can dive into what exactly happened.

@silvenon silvenon merged commit 14f7416 into master Oct 2, 2018
@silvenon silvenon deleted the spread branch October 2, 2018 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants