{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1173","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1173/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1173/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/1173","id":193732338,"number":1173,"title":"styled-jsx support","user":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"labels":[{"id":411265157,"url":"https://api.github.com/repos/facebookincubator/create-react-app/labels/discussion","name":"discussion","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-06T10:14:29Z","updated_at":"2016-12-06T10:37:14Z","closed_at":null,"body":"It seems that currently, even if imported from JS, the CSS classes are global, which, while easy to grasp, is not very fit for a component-oriented workflow. (It still is good for application wide styling, like color themes, etc.)\r\n\r\nIt think [styled-jsx](https://github.com/zeit/styled-jsx) is a nice answer to this problem, it seems easy to set up (Babel integration), and provide better code-locality than [CSS modules](https://github.com/css-modules/css-modules).\r\n\r\nWhat's your opinion on this?"},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/265116617","html_url":"https://github.com/facebookincubator/create-react-app/issues/1173#issuecomment-265116617","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1173","id":265116617,"user":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T10:37:14Z","updated_at":"2016-12-06T10:37:14Z","body":"Makes sense.\r\n\r\nFeel free to close this issue if the time is not right yet :)"}}
{"actor":{"display_login":"julien-f"}}