{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/site/issues/8","repository_url":"https://api.github.com/repos/serverless/site","labels_url":"https://api.github.com/repos/serverless/site/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/serverless/site/issues/8/comments","events_url":"https://api.github.com/repos/serverless/site/issues/8/events","html_url":"https://github.com/serverless/site/issues/8","id":175972751,"number":8,"title":"Clean up imports","user":{"login":"nikgraf","id":223045,"avatar_url":"https://avatars.githubusercontent.com/u/223045?v=3","gravatar_id":"","url":"https://api.github.com/users/nikgraf","html_url":"https://github.com/nikgraf","followers_url":"https://api.github.com/users/nikgraf/followers","following_url":"https://api.github.com/users/nikgraf/following{/other_user}","gists_url":"https://api.github.com/users/nikgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgraf/subscriptions","organizations_url":"https://api.github.com/users/nikgraf/orgs","repos_url":"https://api.github.com/users/nikgraf/repos","events_url":"https://api.github.com/users/nikgraf/events{/privacy}","received_events_url":"https://api.github.com/users/nikgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-09T09:59:50Z","updated_at":"2016-09-09T10:07:18Z","closed_at":null,"body":"Current structure:\r\n\r\n```js\r\nButton/Button.js\r\nButton/Button.css\r\n```\r\n\r\nwhich leads to these imports:\r\n`import Button from './components/Button/Button'`\r\n\r\n-----------\r\n\r\nWhat about we change the structure of components to e.g.\r\n\r\n```js\r\nButton/index.js\r\nButton/Button.css\r\n```\r\n\r\nor even\r\n\r\n```js\r\nButton/index.js\r\nButton/styles.css\r\n```\r\n\r\nThis makes the imports way cleaner: `import Button from './components/Button'`"},"comment":{"url":"https://api.github.com/repos/serverless/site/issues/comments/245873623","html_url":"https://github.com/serverless/site/issues/8#issuecomment-245873623","issue_url":"https://api.github.com/repos/serverless/site/issues/8","id":245873623,"user":{"login":"nikgraf","id":223045,"avatar_url":"https://avatars.githubusercontent.com/u/223045?v=3","gravatar_id":"","url":"https://api.github.com/users/nikgraf","html_url":"https://github.com/nikgraf","followers_url":"https://api.github.com/users/nikgraf/followers","following_url":"https://api.github.com/users/nikgraf/following{/other_user}","gists_url":"https://api.github.com/users/nikgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgraf/subscriptions","organizations_url":"https://api.github.com/users/nikgraf/orgs","repos_url":"https://api.github.com/users/nikgraf/repos","events_url":"https://api.github.com/users/nikgraf/events{/privacy}","received_events_url":"https://api.github.com/users/nikgraf/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T10:07:18Z","updated_at":"2016-09-09T10:07:18Z","body":"btw I'm happy to make a PR in case you agree"}}
{"actor":{"display_login":"nikgraf"}}