{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/3698","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/3698/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/3698/comments","events_url":"https://api.github.com/repos/facebook/react/issues/3698/events","html_url":"https://github.com/facebook/react/issues/3698","id":69477977,"number":3698,"title":"Add Method for enabling full invariant warnings in production","user":{"login":"francoislaberge","id":1845,"avatar_url":"https://avatars.githubusercontent.com/u/1845?v=3","gravatar_id":"","url":"https://api.github.com/users/francoislaberge","html_url":"https://github.com/francoislaberge","followers_url":"https://api.github.com/users/francoislaberge/followers","following_url":"https://api.github.com/users/francoislaberge/following{/other_user}","gists_url":"https://api.github.com/users/francoislaberge/gists{/gist_id}","starred_url":"https://api.github.com/users/francoislaberge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoislaberge/subscriptions","organizations_url":"https://api.github.com/users/francoislaberge/orgs","repos_url":"https://api.github.com/users/francoislaberge/repos","events_url":"https://api.github.com/users/francoislaberge/events{/privacy}","received_events_url":"https://api.github.com/users/francoislaberge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-04-19T23:56:13Z","updated_at":"2016-10-27T14:43:29Z","closed_at":"2016-10-27T14:43:28Z","body":"hi,\r\n\r\nWe're using react to build out views in the atom editor. Because atom is an app running production mode, react won't give us proper invariant errors. Looking through the code there were hundreds of checks to see if the code was running the production environment, so it didn't look trivial to add a pull request for this. I did a search replace for \"production\" -> \"development\" and started to get the errors I wanted. \r\n\r\nI know we're a special case, but this will come up for any system where you use react in a plugin when the surrounding app is in production mode.\r\n\r\nI will look at seeing if I can make atom not run in production mode, but it this feels like something react should support rather than atom to support running a production app in development mode.\r\n\r\nThanks for your time,\r\nFrancois"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/256661781","html_url":"https://github.com/facebook/react/issues/3698#issuecomment-256661781","issue_url":"https://api.github.com/repos/facebook/react/issues/3698","id":256661781,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T14:43:28Z","updated_at":"2016-10-27T14:43:28Z","body":"We added error codes in 15.3.x so you can inspect full errors in production."}}
{"actor":{"display_login":"gaearon"}}