{"action":"created","issue":{"url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/6","repository_url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate","labels_url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/6/comments","events_url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/6/events","html_url":"https://github.com/codefoundries/UniversalRelayBoilerplate/issues/6","id":151312045,"number":6,"title":"Issue with GLOBAL server agent in server rendering?","user":{"login":"thelordoftheboards","id":7056535,"avatar_url":"https://avatars.githubusercontent.com/u/7056535?v=3","gravatar_id":"","url":"https://api.github.com/users/thelordoftheboards","html_url":"https://github.com/thelordoftheboards","followers_url":"https://api.github.com/users/thelordoftheboards/followers","following_url":"https://api.github.com/users/thelordoftheboards/following{/other_user}","gists_url":"https://api.github.com/users/thelordoftheboards/gists{/gist_id}","starred_url":"https://api.github.com/users/thelordoftheboards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelordoftheboards/subscriptions","organizations_url":"https://api.github.com/users/thelordoftheboards/orgs","repos_url":"https://api.github.com/users/thelordoftheboards/repos","events_url":"https://api.github.com/users/thelordoftheboards/events{/privacy}","received_events_url":"https://api.github.com/users/thelordoftheboards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/labels/bug","name":"bug","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-27T06:51:45Z","updated_at":"2016-05-10T18:55:30Z","closed_at":null,"body":"in `renderOnServer.js` the following is done:\r\n\r\n```javascript\r\n          // Setting up static, global navigator object to pass user agent to material-ui. Previously\r\n          // this was protected by the queue but is this legal now? Consult with new MUI\r\n          // documentation.\r\n          GLOBAL.navigator = { userAgent: req.headers[ 'user-agent' ] };\r\n\r\n          // Setting up static, global location for the leftNav\r\n          GLOBAL.location = { pathname: req.originalUrl };\r\n```\r\n\r\nIn a previous version this was in a queue, but how should it be approached now?"},"comment":{"url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/comments/218255073","html_url":"https://github.com/codefoundries/UniversalRelayBoilerplate/issues/6#issuecomment-218255073","issue_url":"https://api.github.com/repos/codefoundries/UniversalRelayBoilerplate/issues/6","id":218255073,"user":{"login":"thelordoftheboards","id":7056535,"avatar_url":"https://avatars.githubusercontent.com/u/7056535?v=3","gravatar_id":"","url":"https://api.github.com/users/thelordoftheboards","html_url":"https://github.com/thelordoftheboards","followers_url":"https://api.github.com/users/thelordoftheboards/followers","following_url":"https://api.github.com/users/thelordoftheboards/following{/other_user}","gists_url":"https://api.github.com/users/thelordoftheboards/gists{/gist_id}","starred_url":"https://api.github.com/users/thelordoftheboards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelordoftheboards/subscriptions","organizations_url":"https://api.github.com/users/thelordoftheboards/orgs","repos_url":"https://api.github.com/users/thelordoftheboards/repos","events_url":"https://api.github.com/users/thelordoftheboards/events{/privacy}","received_events_url":"https://api.github.com/users/thelordoftheboards/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T18:55:30Z","updated_at":"2016-05-10T18:55:30Z","body":"Good point! I was overthinking it! I will close the issue and update the comments in the code. You saved me some unnecessary effort and making the code uglier for nothing :)"}}