{"action":"created","issue":{"url":"https://api.github.com/repos/cssinjs/react-jss/issues/267","repository_url":"https://api.github.com/repos/cssinjs/react-jss","labels_url":"https://api.github.com/repos/cssinjs/react-jss/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/cssinjs/react-jss/issues/267/comments","events_url":"https://api.github.com/repos/cssinjs/react-jss/issues/267/events","html_url":"https://github.com/cssinjs/react-jss/issues/267","id":337845277,"node_id":"MDU6SXNzdWUzMzc4NDUyNzc=","number":267,"title":"Static rules generate empty CSS rules in dynamic style sheet when a function rule is used","user":{"login":"wouter-willems","id":3910481,"node_id":"MDQ6VXNlcjM5MTA0ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/3910481?v=4","gravatar_id":"","url":"https://api.github.com/users/wouter-willems","html_url":"https://github.com/wouter-willems","followers_url":"https://api.github.com/users/wouter-willems/followers","following_url":"https://api.github.com/users/wouter-willems/following{/other_user}","gists_url":"https://api.github.com/users/wouter-willems/gists{/gist_id}","starred_url":"https://api.github.com/users/wouter-willems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wouter-willems/subscriptions","organizations_url":"https://api.github.com/users/wouter-willems/orgs","repos_url":"https://api.github.com/users/wouter-willems/repos","events_url":"https://api.github.com/users/wouter-willems/events{/privacy}","received_events_url":"https://api.github.com/users/wouter-willems/received_events","type":"User","site_admin":false},"labels":[{"id":165202510,"node_id":"MDU6TGFiZWwxNjUyMDI1MTA=","url":"https://api.github.com/repos/cssinjs/react-jss/labels/bug","name":"bug","color":"fc2929","default":true},{"id":672748785,"node_id":"MDU6TGFiZWw2NzI3NDg3ODU=","url":"https://api.github.com/repos/cssinjs/react-jss/labels/complexity:moderate","name":"complexity:moderate","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-07-03T10:48:00Z","updated_at":"2018-07-06T17:06:05Z","closed_at":"2018-07-06T17:06:05Z","author_association":"NONE","body":"Hi,\r\nwhenever i am using dynamic properties, like:\r\n\r\n```\r\nwrapper: (props) => ({\r\n    padding: 40,\r\n    background: theme.background,\r\n    textAlign: \"left\"\r\n  }),\r\n```\r\n\r\nIt causes an extra class to be added, which is empty and does nothing. You can see an example in this playground for the wrapper:\r\n\r\nhttps://codesandbox.io/s/j3l06yyqpw\r\n\r\nthe result: `class=\"Comp-wrapper-0-1-10 Comp-wrapper-0-1-7\"`\r\n\r\nIn that case, `Comp-wrapper-0-1-7` does nothing. You can see that even all children now have double classes.\r\nThis also does not work for the newest version, 9.8.7."},"comment":{"url":"https://api.github.com/repos/cssinjs/react-jss/issues/comments/403092746","html_url":"https://github.com/cssinjs/react-jss/issues/267#issuecomment-403092746","issue_url":"https://api.github.com/repos/cssinjs/react-jss/issues/267","id":403092746,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzA5Mjc0Ng==","user":{"login":"kof","id":52824,"node_id":"MDQ6VXNlcjUyODI0","avatar_url":"https://avatars0.githubusercontent.com/u/52824?v=4","gravatar_id":"","url":"https://api.github.com/users/kof","html_url":"https://github.com/kof","followers_url":"https://api.github.com/users/kof/followers","following_url":"https://api.github.com/users/kof/following{/other_user}","gists_url":"https://api.github.com/users/kof/gists{/gist_id}","starred_url":"https://api.github.com/users/kof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kof/subscriptions","organizations_url":"https://api.github.com/users/kof/orgs","repos_url":"https://api.github.com/users/kof/repos","events_url":"https://api.github.com/users/kof/events{/privacy}","received_events_url":"https://api.github.com/users/kof/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T17:06:05Z","updated_at":"2018-07-06T17:06:05Z","author_association":"MEMBER","body":"published 8.6.1"}}
{"actor":{"display_login":"kof"}}