{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/2356","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/2356/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/2356/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/2356/events","html_url":"https://github.com/callemall/material-ui/issues/2356","id":120087806,"number":2356,"title":"How to set global navigator.userAgent in server-side rendering","user":{"login":"adieuadieu","id":438848,"avatar_url":"https://avatars.githubusercontent.com/u/438848?v=3","gravatar_id":"","url":"https://api.github.com/users/adieuadieu","html_url":"https://github.com/adieuadieu","followers_url":"https://api.github.com/users/adieuadieu/followers","following_url":"https://api.github.com/users/adieuadieu/following{/other_user}","gists_url":"https://api.github.com/users/adieuadieu/gists{/gist_id}","starred_url":"https://api.github.com/users/adieuadieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adieuadieu/subscriptions","organizations_url":"https://api.github.com/users/adieuadieu/orgs","repos_url":"https://api.github.com/users/adieuadieu/repos","events_url":"https://api.github.com/users/adieuadieu/events{/privacy}","received_events_url":"https://api.github.com/users/adieuadieu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T03:35:56Z","updated_at":"2015-12-03T05:50:19Z","closed_at":null,"body":"The styles/auto-prefix.js auto-prefixer warns that, \"Material-UI expects the global navigator.userAgent to be defined for server-side rendering. Set this property when receiving the request headers.\"\r\n\r\nhttps://github.com/callemall/material-ui/blob/master/src/styles/auto-prefix.js#L10\r\n\r\nAnyone have any example of this being implemented, or have suggestions on how to do this?"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/161523785","html_url":"https://github.com/callemall/material-ui/issues/2356#issuecomment-161523785","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/2356","id":161523785,"user":{"login":"ayhankuru","id":2834954,"avatar_url":"https://avatars.githubusercontent.com/u/2834954?v=3","gravatar_id":"","url":"https://api.github.com/users/ayhankuru","html_url":"https://github.com/ayhankuru","followers_url":"https://api.github.com/users/ayhankuru/followers","following_url":"https://api.github.com/users/ayhankuru/following{/other_user}","gists_url":"https://api.github.com/users/ayhankuru/gists{/gist_id}","starred_url":"https://api.github.com/users/ayhankuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayhankuru/subscriptions","organizations_url":"https://api.github.com/users/ayhankuru/orgs","repos_url":"https://api.github.com/users/ayhankuru/repos","events_url":"https://api.github.com/users/ayhankuru/events{/privacy}","received_events_url":"https://api.github.com/users/ayhankuru/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T05:50:19Z","updated_at":"2015-12-03T05:50:19Z","body":"checkout this comment https://github.com/callemall/material-ui/pull/2172#issuecomment-157404901"}}