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

[Bug] lab uses React in production mode which means bad error messages #26

Open
siddharthkp opened this issue Nov 28, 2017 · 1 comment

Comments

@siddharthkp
Copy link

Use case:

If there is an error while importing a component, lab shows the error message that React throws. This was the error message that I saw:

Invariant Violation: Minified React error #130;
visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=object&args[]=
for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
@jxnblk
Copy link
Member

jxnblk commented Dec 17, 2017

Thanks! We initially set the app to production to help with React performance, but due to the nature of this app, it might best be left in development. I'll try some builds and see if this is something we can add to a release soon

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

No branches or pull requests

2 participants