{"action":"created","issue":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/319","repository_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat","labels_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/319/comments","events_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/319/events","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/pull/319","id":197108162,"number":319,"title":"move all exports into index.js","user":{"login":"mauron85","id":359450,"avatar_url":"https://avatars.githubusercontent.com/u/359450?v=3","gravatar_id":"","url":"https://api.github.com/users/mauron85","html_url":"https://github.com/mauron85","followers_url":"https://api.github.com/users/mauron85/followers","following_url":"https://api.github.com/users/mauron85/following{/other_user}","gists_url":"https://api.github.com/users/mauron85/gists{/gist_id}","starred_url":"https://api.github.com/users/mauron85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauron85/subscriptions","organizations_url":"https://api.github.com/users/mauron85/orgs","repos_url":"https://api.github.com/users/mauron85/repos","events_url":"https://api.github.com/users/mauron85/events{/privacy}","received_events_url":"https://api.github.com/users/mauron85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T07:03:01Z","updated_at":"2016-12-22T16:07:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/pulls/319","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/pull/319","diff_url":"https://github.com/FaridSafi/react-native-gifted-chat/pull/319.diff","patch_url":"https://github.com/FaridSafi/react-native-gifted-chat/pull/319.patch"},"body":"Allows selective imports (tree shaking).\r\n\r\nbefore `import GiftedChat from 'GiftedChat/src/GiftedChat'` imported all project classes.\r\n\r\nafter: `import GiftedChat from 'GiftedChat/src/GiftedChat'` only imports GiftedChat class.\r\n\r\nThis allows selectively replace GiftedChat components for alternative implementations, without need to fork whole project."},"comment":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/comments/268831512","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/pull/319#issuecomment-268831512","issue_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/319","id":268831512,"user":{"login":"kfiroo","id":284636,"avatar_url":"https://avatars.githubusercontent.com/u/284636?v=3","gravatar_id":"","url":"https://api.github.com/users/kfiroo","html_url":"https://github.com/kfiroo","followers_url":"https://api.github.com/users/kfiroo/followers","following_url":"https://api.github.com/users/kfiroo/following{/other_user}","gists_url":"https://api.github.com/users/kfiroo/gists{/gist_id}","starred_url":"https://api.github.com/users/kfiroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfiroo/subscriptions","organizations_url":"https://api.github.com/users/kfiroo/orgs","repos_url":"https://api.github.com/users/kfiroo/repos","events_url":"https://api.github.com/users/kfiroo/events{/privacy}","received_events_url":"https://api.github.com/users/kfiroo/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T16:07:40Z","updated_at":"2016-12-22T16:07:40Z","body":"Thanks! that's much clearer.\r\nUnfortunately, your change will not solve the problem you are trying to solve :(\r\nThink about it, `Bubble` is still in the require chain.\r\n`GiftedChat` -> `MessageContainer` -> `Message` -> `Bubble`\r\nYou only changed the way it was exported"}}
{"actor":{"display_login":"kfiroo"}}