{"action":"created","issue":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/12320","repository_url":"https://api.github.com/repos/mui-org/material-ui","labels_url":"https://api.github.com/repos/mui-org/material-ui/issues/12320/labels{/name}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/12320/comments","events_url":"https://api.github.com/repos/mui-org/material-ui/issues/12320/events","html_url":"https://github.com/mui-org/material-ui/issues/12320","id":345474568,"node_id":"MDU6SXNzdWUzNDU0NzQ1Njg=","number":12320,"title":"Support gatsby@next","user":{"login":"nareshbhatia","id":1220198,"node_id":"MDQ6VXNlcjEyMjAxOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1220198?v=4","gravatar_id":"","url":"https://api.github.com/users/nareshbhatia","html_url":"https://github.com/nareshbhatia","followers_url":"https://api.github.com/users/nareshbhatia/followers","following_url":"https://api.github.com/users/nareshbhatia/following{/other_user}","gists_url":"https://api.github.com/users/nareshbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/nareshbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nareshbhatia/subscriptions","organizations_url":"https://api.github.com/users/nareshbhatia/orgs","repos_url":"https://api.github.com/users/nareshbhatia/repos","events_url":"https://api.github.com/users/nareshbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/nareshbhatia/received_events","type":"User","site_admin":false},"labels":[{"id":234029522,"node_id":"MDU6TGFiZWwyMzQwMjk1MjI=","url":"https://api.github.com/repos/mui-org/material-ui/labels/docs","name":"docs","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-28T19:53:45Z","updated_at":"2018-08-26T19:45:24Z","closed_at":"2018-08-21T21:25:38Z","author_association":"CONTRIBUTOR","body":"<!--- Provide a general summary of the feature in the Title above -->\r\n\r\nSupport the next version of Gatsby (currently at 2.0.0-beta.61). The Material UI example under `examples/gatsby` works with Gatsby version 1, but gives the following error with Gatsby version 2:\r\n\r\n```\r\nModule build failed (from ./node_modules/babel-loader/lib/index.js):\r\nSyntaxError: /Users/narbhati/projects/material-ui/examples/gatsby/.cache/develop-static-entry.js:\r\nSupport for the experimental syntax 'objectRestSpread' isn't currently enabled (72:5):\r\n\r\n  70 |\r\n  71 |   const htmlElement = React.createElement(Html, {\r\n> 72 |     ...bodyProps,\r\n     |     ^\r\n  73 |     body: ``,\r\n  74 |     headComponents: headComponents.concat([\r\n  75 |       <script key={`io`} src=\"/socket.io/socket.io.js\" />,\r\n\r\nAdd @babel/plugin-proposal-object-rest-spread (https://git.io/vb4Ss) to the 'plugins' section\r\nof your Babel config to enable transformation.\r\n```\r\n\r\nIt would be even better if Material UI can be officially supported as a gatsby plugin, similar to Styled Components and Glamor. See associated Gatsby docs [here](https://next.gatsbyjs.org/docs/styled-components/) and [here](https://next.gatsbyjs.org/docs/glamor/).\r\n\r\n<!-- Checked checkbox should look like this: [x] -->\r\n- [x] This is a v1.x issue. <!-- (v0.x is no longer maintained) -->\r\n- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.\r\n"},"comment":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/comments/416065106","html_url":"https://github.com/mui-org/material-ui/issues/12320#issuecomment-416065106","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/12320","id":416065106,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjA2NTEwNg==","user":{"login":"cpboyd","id":6323077,"node_id":"MDQ6VXNlcjYzMjMwNzc=","avatar_url":"https://avatars2.githubusercontent.com/u/6323077?v=4","gravatar_id":"","url":"https://api.github.com/users/cpboyd","html_url":"https://github.com/cpboyd","followers_url":"https://api.github.com/users/cpboyd/followers","following_url":"https://api.github.com/users/cpboyd/following{/other_user}","gists_url":"https://api.github.com/users/cpboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/cpboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpboyd/subscriptions","organizations_url":"https://api.github.com/users/cpboyd/orgs","repos_url":"https://api.github.com/users/cpboyd/repos","events_url":"https://api.github.com/users/cpboyd/events{/privacy}","received_events_url":"https://api.github.com/users/cpboyd/received_events","type":"User","site_admin":false},"created_at":"2018-08-26T19:45:24Z","updated_at":"2018-08-26T19:45:24Z","author_association":"NONE","body":"@oliviertassinari I'll try to post a small example shortly... (I've got it working by updating your example.)\r\n\r\nI'm currently still trying to figure out my browser rendering issues on my existing project first, though."}}
{"actor":{"display_login":"cpboyd"}}