lab icon indicating copy to clipboard operation
lab copied to clipboard

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

Open siddharthkp opened this issue 6 years ago • 1 comments

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.

siddharthkp avatar Nov 28 '17 18:11 siddharthkp

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

jxnblk avatar Dec 17 '17 23:12 jxnblk