{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/1766","labels_url":"https://api.github.com/repos/facebook/react/issues/1766/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/1766/comments","events_url":"https://api.github.com/repos/facebook/react/issues/1766/events","html_url":"https://github.com/facebook/react/issues/1766","id":36799396,"number":1766,"title":"Wouldn't it be cool if className could inject an object into classSet?","user":{"login":"nhunzaker","id":590904,"avatar_url":"https://avatars.githubusercontent.com/u/590904?v=3","gravatar_id":"","url":"https://api.github.com/users/nhunzaker","html_url":"https://github.com/nhunzaker","followers_url":"https://api.github.com/users/nhunzaker/followers","following_url":"https://api.github.com/users/nhunzaker/following{/other_user}","gists_url":"https://api.github.com/users/nhunzaker/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunzaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunzaker/subscriptions","organizations_url":"https://api.github.com/users/nhunzaker/orgs","repos_url":"https://api.github.com/users/nhunzaker/repos","events_url":"https://api.github.com/users/nhunzaker/events{/privacy}","received_events_url":"https://api.github.com/users/nhunzaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/Type:%20Feature%20Request","name":"Type: Feature Request","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-06-30T13:56:30Z","updated_at":"2015-01-31T13:43:19Z","closed_at":"2015-01-31T03:31:44Z","body":"Sort of a stray thought, but what if className could pass an object to the `classSet` addon?\r\n\r\n```javascript\r\nrender() {\r\n\treturn (\r\n\t\t<div className={{ message: true, 'is-active': this.state.isActive }}>\r\n\t\t\t{ this.props.message }\r\n\t\t</div>\r\n\t)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/72318203","html_url":"https://github.com/facebook/react/issues/1766#issuecomment-72318203","issue_url":"https://api.github.com/repos/facebook/react/issues/1766","id":72318203,"user":{"login":"nhunzaker","id":590904,"avatar_url":"https://avatars.githubusercontent.com/u/590904?v=3","gravatar_id":"","url":"https://api.github.com/users/nhunzaker","html_url":"https://github.com/nhunzaker","followers_url":"https://api.github.com/users/nhunzaker/followers","following_url":"https://api.github.com/users/nhunzaker/following{/other_user}","gists_url":"https://api.github.com/users/nhunzaker/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunzaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunzaker/subscriptions","organizations_url":"https://api.github.com/users/nhunzaker/orgs","repos_url":"https://api.github.com/users/nhunzaker/repos","events_url":"https://api.github.com/users/nhunzaker/events{/privacy}","received_events_url":"https://api.github.com/users/nhunzaker/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T13:43:19Z","updated_at":"2015-01-31T13:43:19Z","body":"Fantastic!"}}