Skip to content

Update branch for codesandbox embed support #1

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

Merged
merged 4 commits into from
Oct 19, 2018

Conversation

zacjones93
Copy link

5 of the 6 code examples in this course work really well in codesandbox as it runs tests now.

The Globals lesson didn't work with codesandbox well. I did get it to work but the preview panel was erroring out with a 502 bad gateway. Though the tests ran as expected in the terminal. I plan on just linking the GitHub repository for this lesson unless you have an idea of how to better run that example in codesandbox

Changes Made

  • Updated lesson files to ordered lesson folder
  • Added a package.json and index.html file for each example that will work in codesandbox

Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Cool! I know that you can also add a sandbox.config.json with {"template": "node"} and then you can pretty much do whatever you want in there because it'll run in node on codesandbox servers. Maybe something to play around with!

Thank you!

@kentcdodds kentcdodds merged commit d20dacf into kentcdodds:egghead-2018 Oct 19, 2018
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

Successfully merging this pull request may close these issues.

2 participants