{"action":"created","issue":{"url":"https://api.github.com/repos/cssinjs/react-jss/issues/171","repository_url":"https://api.github.com/repos/cssinjs/react-jss","labels_url":"https://api.github.com/repos/cssinjs/react-jss/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/cssinjs/react-jss/issues/171/comments","events_url":"https://api.github.com/repos/cssinjs/react-jss/issues/171/events","html_url":"https://github.com/cssinjs/react-jss/issues/171","id":269360646,"number":171,"title":"Adding JssProvider breaks app","user":{"login":"btmorex","id":346064,"avatar_url":"https://avatars2.githubusercontent.com/u/346064?v=4","gravatar_id":"","url":"https://api.github.com/users/btmorex","html_url":"https://github.com/btmorex","followers_url":"https://api.github.com/users/btmorex/followers","following_url":"https://api.github.com/users/btmorex/following{/other_user}","gists_url":"https://api.github.com/users/btmorex/gists{/gist_id}","starred_url":"https://api.github.com/users/btmorex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btmorex/subscriptions","organizations_url":"https://api.github.com/users/btmorex/orgs","repos_url":"https://api.github.com/users/btmorex/repos","events_url":"https://api.github.com/users/btmorex/events{/privacy}","received_events_url":"https://api.github.com/users/btmorex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-29T00:24:32Z","updated_at":"2017-10-29T01:57:00Z","closed_at":"2017-10-29T01:57:00Z","author_association":"NONE","body":"Hi, I just integrated react-jss and I'm trying to use a custom plugin list. With the following code everything works fine:\r\n\r\n```javascript\r\nReactDOM.render(React.createElement(App, {user: _20songs.user}),\r\n                document.getElementById('container'));\r\n```\r\n\r\nAs soon as I add JssProvider:\r\n\r\n```javascript\r\nReactDOM.render(React.createElement(JssProvider, null, React.createElement(App, {user: _20songs.user})),\r\n                document.getElementById('container'));\r\n```\r\n\r\nI get the following error:\r\n\r\n```\r\ninjectSheet.js:48 Uncaught TypeError: Cannot add property index, object is not extensible\r\n    at injectSheet (injectSheet.js:48)\r\n    at mountIndeterminateComponent (react-dom.development.js:10400)\r\n    at beginWork (react-dom.development.js:10601)\r\n    at performUnitOfWork (react-dom.development.js:12573)\r\n    at workLoop (react-dom.development.js:12682)\r\n    at HTMLUnknownElement.callCallback (react-dom.development.js:1299)\r\n    at Object.invokeGuardedCallbackDev (react-dom.development.js:1338)\r\n    at invokeGuardedCallback (react-dom.development.js:1195)\r\n    at performWork (react-dom.development.js:12800)\r\n    at scheduleUpdateImpl (react-dom.development.js:13185)\r\n```"},"comment":{"url":"https://api.github.com/repos/cssinjs/react-jss/issues/comments/340231974","html_url":"https://github.com/cssinjs/react-jss/issues/171#issuecomment-340231974","issue_url":"https://api.github.com/repos/cssinjs/react-jss/issues/171","id":340231974,"user":{"login":"btmorex","id":346064,"avatar_url":"https://avatars2.githubusercontent.com/u/346064?v=4","gravatar_id":"","url":"https://api.github.com/users/btmorex","html_url":"https://github.com/btmorex","followers_url":"https://api.github.com/users/btmorex/followers","following_url":"https://api.github.com/users/btmorex/following{/other_user}","gists_url":"https://api.github.com/users/btmorex/gists{/gist_id}","starred_url":"https://api.github.com/users/btmorex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btmorex/subscriptions","organizations_url":"https://api.github.com/users/btmorex/orgs","repos_url":"https://api.github.com/users/btmorex/repos","events_url":"https://api.github.com/users/btmorex/events{/privacy}","received_events_url":"https://api.github.com/users/btmorex/received_events","type":"User","site_admin":false},"created_at":"2017-10-29T01:57:00Z","updated_at":"2017-10-29T01:57:00Z","author_association":"NONE","body":"Never mind; I was importing it wrong."}}
{"actor":{"display_login":"btmorex"}}