{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/redux/issues/1565","repository_url":"https://api.github.com/repos/reactjs/redux","labels_url":"https://api.github.com/repos/reactjs/redux/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/redux/issues/1565/comments","events_url":"https://api.github.com/repos/reactjs/redux/issues/1565/events","html_url":"https://github.com/reactjs/redux/issues/1565","id":145200846,"number":1565,"title":"NODE_ENV should be used strictly","user":{"login":"Morriz","id":941865,"avatar_url":"https://avatars.githubusercontent.com/u/941865?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriz","html_url":"https://github.com/Morriz","followers_url":"https://api.github.com/users/Morriz/followers","following_url":"https://api.github.com/users/Morriz/following{/other_user}","gists_url":"https://api.github.com/users/Morriz/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriz/subscriptions","organizations_url":"https://api.github.com/users/Morriz/orgs","repos_url":"https://api.github.com/users/Morriz/repos","events_url":"https://api.github.com/users/Morriz/events{/privacy}","received_events_url":"https://api.github.com/users/Morriz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T14:49:49Z","updated_at":"2016-04-01T15:06:59Z","closed_at":null,"body":"I would suggest using explicit tests to see if development features are needed, also to accomodate other dev/test/acc/prod usage in other packages, like in loopback, so:\r\n\r\n`if (process.env.NODE_ENV !== 'production')`\r\nwould become\r\n`if (process.env.NODE_ENV === 'development')`\r\n"},"comment":{"url":"https://api.github.com/repos/reactjs/redux/issues/comments/204432098","html_url":"https://github.com/reactjs/redux/issues/1565#issuecomment-204432098","issue_url":"https://api.github.com/repos/reactjs/redux/issues/1565","id":204432098,"user":{"login":"sompylasar","id":498274,"avatar_url":"https://avatars.githubusercontent.com/u/498274?v=3","gravatar_id":"","url":"https://api.github.com/users/sompylasar","html_url":"https://github.com/sompylasar","followers_url":"https://api.github.com/users/sompylasar/followers","following_url":"https://api.github.com/users/sompylasar/following{/other_user}","gists_url":"https://api.github.com/users/sompylasar/gists{/gist_id}","starred_url":"https://api.github.com/users/sompylasar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sompylasar/subscriptions","organizations_url":"https://api.github.com/users/sompylasar/orgs","repos_url":"https://api.github.com/users/sompylasar/repos","events_url":"https://api.github.com/users/sompylasar/events{/privacy}","received_events_url":"https://api.github.com/users/sompylasar/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T15:06:59Z","updated_at":"2016-04-01T15:06:59Z","body":"Do not over-use NODE_ENV for app-related stuff. Get your own APP_ENV\nvariable, and get NODE_ENV to have a value based on the value of that\nvariable.\n"}}