{"action":"created","issue":{"url":"https://api.github.com/repos/Bloc/Messenger/issues/33","repository_url":"https://api.github.com/repos/Bloc/Messenger","labels_url":"https://api.github.com/repos/Bloc/Messenger/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Bloc/Messenger/issues/33/comments","events_url":"https://api.github.com/repos/Bloc/Messenger/issues/33/events","html_url":"https://github.com/Bloc/Messenger/issues/33","id":148856571,"number":33,"title":"Query about code style ","user":{"login":"ajalger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/ajalger","html_url":"https://github.com/ajalger","followers_url":"https://api.github.com/users/ajalger/followers","following_url":"https://api.github.com/users/ajalger/following{/other_user}","gists_url":"https://api.github.com/users/ajalger/gists{/gist_id}","starred_url":"https://api.github.com/users/ajalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajalger/subscriptions","organizations_url":"https://api.github.com/users/ajalger/orgs","repos_url":"https://api.github.com/users/ajalger/repos","events_url":"https://api.github.com/users/ajalger/events{/privacy}","received_events_url":"https://api.github.com/users/ajalger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-16T14:19:53Z","updated_at":"2016-04-16T22:04:59Z","closed_at":null,"body":"Just curious if you want to leave the current structure at the top of the component files as: \r\n\r\n```\r\nimport React from 'react-native';\r\n\r\nconst {\r\n  PropTypes,\r\n  StyleSheet,\r\n  Text,\r\n  TextInput,\r\n  TouchableHighlight,\r\n  View,\r\n} = React;\r\n```\r\nIt can be easily refactored to: \r\n```\r\nimport React, {\r\n  PropTypes,\r\n  StyleSheet,\r\n  Text,\r\n  TextInput,\r\n  TouchableHighlight,\r\n  View,\r\n  Component\r\n} from 'react-native';\r\n```\r\nThis is how it is in the test file. That way we can write \r\n```\r\nclass Whatever extends Component {}\r\n```\r\ninstead of \r\n```\r\nclass Login extends React.Component {}\r\n```"},"comment":{"url":"https://api.github.com/repos/Bloc/Messenger/issues/comments/210912980","html_url":"https://github.com/Bloc/Messenger/issues/33#issuecomment-210912980","issue_url":"https://api.github.com/repos/Bloc/Messenger/issues/33","id":210912980,"user":{"login":"ajalger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/ajalger","html_url":"https://github.com/ajalger","followers_url":"https://api.github.com/users/ajalger/followers","following_url":"https://api.github.com/users/ajalger/following{/other_user}","gists_url":"https://api.github.com/users/ajalger/gists{/gist_id}","starred_url":"https://api.github.com/users/ajalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajalger/subscriptions","organizations_url":"https://api.github.com/users/ajalger/orgs","repos_url":"https://api.github.com/users/ajalger/repos","events_url":"https://api.github.com/users/ajalger/events{/privacy}","received_events_url":"https://api.github.com/users/ajalger/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T22:04:59Z","updated_at":"2016-04-16T22:04:59Z","body":"Issue can be closed now. "}}