MLH-Fellowship / babel-sandbox

Babel repl-like codesandbox: check out link =>
https://codesandbox.io/s/github/babel/sandboxes
MIT License
6 stars 3 forks source link

Any invalid JS input crashes the page #108

Closed barronwei closed 4 years ago

barronwei commented 4 years ago

https://github.com/MLH-Fellowship/babel-sandbox/blob/ec1ceb3c237c44b3fcef365e8d0db5ff2305a6de/src/components/CompiledOutput.js#L49

This appears to throw an error on any invalid input.