{"action":"opened","number":243,"pull_request":{"url":"https://api.github.com/repos/baberutv/baberutv/pulls/243","id":108728317,"html_url":"https://github.com/baberutv/baberutv/pull/243","diff_url":"https://github.com/baberutv/baberutv/pull/243.diff","patch_url":"https://github.com/baberutv/baberutv/pull/243.patch","issue_url":"https://api.github.com/repos/baberutv/baberutv/issues/243","number":243,"state":"open","locked":false,"title":"Using dynamic import Close #240","user":{"login":"ykzts","id":12539,"avatar_url":"https://avatars3.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"body":"dynamic importを使い、アセットが分割されるようにする。\r\n\r\n今後 #207 で`react-router`が導入されて各ページ用のReactコンポーネントをひとつのにバンドルしようとするとどうしてもスクリプトファイルのファイルサイズが肥大化していく。dynamic importを使うことによって必要になるまで読み込まれなくなるのでスクリプトファイル単体のファイルサイズは削減できる。","created_at":"2017-03-02T10:24:32Z","updated_at":"2017-03-02T10:24:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"ykzts","id":12539,"avatar_url":"https://avatars3.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"assignees":[{"login":"ykzts","id":12539,"avatar_url":"https://avatars3.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/baberutv/baberutv/milestones/2","html_url":"https://github.com/baberutv/baberutv/milestone/2","labels_url":"https://api.github.com/repos/baberutv/baberutv/milestones/2/labels","id":2097792,"number":2,"title":"2.0.0","description":"","creator":{"login":"ykzts","id":12539,"avatar_url":"https://avatars3.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":100,"state":"open","created_at":"2016-10-27T15:35:33Z","updated_at":"2017-03-02T10:24:32Z","due_on":"2017-03-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/baberutv/baberutv/pulls/243/commits","review_comments_url":"https://api.github.com/repos/baberutv/baberutv/pulls/243/comments","review_comment_url":"https://api.github.com/repos/baberutv/baberutv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baberutv/baberutv/issues/243/comments","statuses_url":"https://api.github.com/repos/baberutv/baberutv/statuses/e20df8ca7817a4d41234e17b75cc6019a63525e6","head":{"label":"baberutv:dynamic-import","ref":"dynamic-import","sha":"e20df8ca7817a4d41234e17b75cc6019a63525e6","user":{"login":"baberutv","id":23157742,"avatar_url":"https://avatars1.githubusercontent.com/u/23157742?v=3","gravatar_id":"","url":"https://api.github.com/users/baberutv","html_url":"https://github.com/baberutv","followers_url":"https://api.github.com/users/baberutv/followers","following_url":"https://api.github.com/users/baberutv/following{/other_user}","gists_url":"https://api.github.com/users/baberutv/gists{/gist_id}","starred_url":"https://api.github.com/users/baberutv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baberutv/subscriptions","organizations_url":"https://api.github.com/users/baberutv/orgs","repos_url":"https://api.github.com/users/baberutv/repos","events_url":"https://api.github.com/users/baberutv/events{/privacy}","received_events_url":"https://api.github.com/users/baberutv/received_events","type":"Organization","site_admin":false},"repo":{"id":72112134,"name":"baberutv","full_name":"baberutv/baberutv","owner":{"login":"baberutv","id":23157742,"avatar_url":"https://avatars1.githubusercontent.com/u/23157742?v=3","gravatar_id":"","url":"https://api.github.com/users/baberutv","html_url":"https://github.com/baberutv","followers_url":"https://api.github.com/users/baberutv/followers","following_url":"https://api.github.com/users/baberutv/following{/other_user}","gists_url":"https://api.github.com/users/baberutv/gists{/gist_id}","starred_url":"https://api.github.com/users/baberutv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baberutv/subscriptions","organizations_url":"https://api.github.com/users/baberutv/orgs","repos_url":"https://api.github.com/users/baberutv/repos","events_url":"https://api.github.com/users/baberutv/events{/privacy}","received_events_url":"https://api.github.com/users/baberutv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/baberutv/baberutv","description":":tv: Television!!!","fork":false,"url":"https://api.github.com/repos/baberutv/baberutv","forks_url":"https://api.github.com/repos/baberutv/baberutv/forks","keys_url":"https://api.github.com/repos/baberutv/baberutv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baberutv/baberutv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baberutv/baberutv/teams","hooks_url":"https://api.github.com/repos/baberutv/baberutv/hooks","issue_events_url":"https://api.github.com/repos/baberutv/baberutv/issues/events{/number}","events_url":"https://api.github.com/repos/baberutv/baberutv/events","assignees_url":"https://api.github.com/repos/baberutv/baberutv/assignees{/user}","branches_url":"https://api.github.com/repos/baberutv/baberutv/branches{/branch}","tags_url":"https://api.github.com/repos/baberutv/baberutv/tags","blobs_url":"https://api.github.com/repos/baberutv/baberutv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baberutv/baberutv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baberutv/baberutv/git/refs{/sha}","trees_url":"https://api.github.com/repos/baberutv/baberutv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baberutv/baberutv/statuses/{sha}","languages_url":"https://api.github.com/repos/baberutv/baberutv/languages","stargazers_url":"https://api.github.com/repos/baberutv/baberutv/stargazers","contributors_url":"https://api.github.com/repos/baberutv/baberutv/contributors","subscribers_url":"https://api.github.com/repos/baberutv/baberutv/subscribers","subscription_url":"https://api.github.com/repos/baberutv/baberutv/subscription","commits_url":"https://api.github.com/repos/baberutv/baberutv/commits{/sha}","git_commits_url":"https://api.github.com/repos/baberutv/baberutv/git/commits{/sha}","comments_url":"https://api.github.com/repos/baberutv/baberutv/comments{/number}","issue_comment_url":"https://api.github.com/repos/baberutv/baberutv/issues/comments{/number}","contents_url":"https://api.github.com/repos/baberutv/baberutv/contents/{+path}","compare_url":"https://api.github.com/repos/baberutv/baberutv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baberutv/baberutv/merges","archive_url":"https://api.github.com/repos/baberutv/baberutv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baberutv/baberutv/downloads","issues_url":"https://api.github.com/repos/baberutv/baberutv/issues{/number}","pulls_url":"https://api.github.com/repos/baberutv/baberutv/pulls{/number}","milestones_url":"https://api.github.com/repos/baberutv/baberutv/milestones{/number}","notifications_url":"https://api.github.com/repos/baberutv/baberutv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baberutv/baberutv/labels{/name}","releases_url":"https://api.github.com/repos/baberutv/baberutv/releases{/id}","deployments_url":"https://api.github.com/repos/baberutv/baberutv/deployments","created_at":"2016-10-27T13:41:31Z","updated_at":"2016-11-05T19:58:59Z","pushed_at":"2017-03-02T10:23:50Z","git_url":"git://github.com/baberutv/baberutv.git","ssh_url":"git@github.com:baberutv/baberutv.git","clone_url":"https://github.com/baberutv/baberutv.git","svn_url":"https://github.com/baberutv/baberutv","homepage":"https://baberu.tv/","size":1003,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":4,"default_branch":"master"}},"base":{"label":"baberutv:master","ref":"master","sha":"207f834039bc8cb3cfbffaf3ee425a8d08e9665e","user":{"login":"baberutv","id":23157742,"avatar_url":"https://avatars1.githubusercontent.com/u/23157742?v=3","gravatar_id":"","url":"https://api.github.com/users/baberutv","html_url":"https://github.com/baberutv","followers_url":"https://api.github.com/users/baberutv/followers","following_url":"https://api.github.com/users/baberutv/following{/other_user}","gists_url":"https://api.github.com/users/baberutv/gists{/gist_id}","starred_url":"https://api.github.com/users/baberutv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baberutv/subscriptions","organizations_url":"https://api.github.com/users/baberutv/orgs","repos_url":"https://api.github.com/users/baberutv/repos","events_url":"https://api.github.com/users/baberutv/events{/privacy}","received_events_url":"https://api.github.com/users/baberutv/received_events","type":"Organization","site_admin":false},"repo":{"id":72112134,"name":"baberutv","full_name":"baberutv/baberutv","owner":{"login":"baberutv","id":23157742,"avatar_url":"https://avatars1.githubusercontent.com/u/23157742?v=3","gravatar_id":"","url":"https://api.github.com/users/baberutv","html_url":"https://github.com/baberutv","followers_url":"https://api.github.com/users/baberutv/followers","following_url":"https://api.github.com/users/baberutv/following{/other_user}","gists_url":"https://api.github.com/users/baberutv/gists{/gist_id}","starred_url":"https://api.github.com/users/baberutv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baberutv/subscriptions","organizations_url":"https://api.github.com/users/baberutv/orgs","repos_url":"https://api.github.com/users/baberutv/repos","events_url":"https://api.github.com/users/baberutv/events{/privacy}","received_events_url":"https://api.github.com/users/baberutv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/baberutv/baberutv","description":":tv: Television!!!","fork":false,"url":"https://api.github.com/repos/baberutv/baberutv","forks_url":"https://api.github.com/repos/baberutv/baberutv/forks","keys_url":"https://api.github.com/repos/baberutv/baberutv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baberutv/baberutv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baberutv/baberutv/teams","hooks_url":"https://api.github.com/repos/baberutv/baberutv/hooks","issue_events_url":"https://api.github.com/repos/baberutv/baberutv/issues/events{/number}","events_url":"https://api.github.com/repos/baberutv/baberutv/events","assignees_url":"https://api.github.com/repos/baberutv/baberutv/assignees{/user}","branches_url":"https://api.github.com/repos/baberutv/baberutv/branches{/branch}","tags_url":"https://api.github.com/repos/baberutv/baberutv/tags","blobs_url":"https://api.github.com/repos/baberutv/baberutv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baberutv/baberutv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baberutv/baberutv/git/refs{/sha}","trees_url":"https://api.github.com/repos/baberutv/baberutv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baberutv/baberutv/statuses/{sha}","languages_url":"https://api.github.com/repos/baberutv/baberutv/languages","stargazers_url":"https://api.github.com/repos/baberutv/baberutv/stargazers","contributors_url":"https://api.github.com/repos/baberutv/baberutv/contributors","subscribers_url":"https://api.github.com/repos/baberutv/baberutv/subscribers","subscription_url":"https://api.github.com/repos/baberutv/baberutv/subscription","commits_url":"https://api.github.com/repos/baberutv/baberutv/commits{/sha}","git_commits_url":"https://api.github.com/repos/baberutv/baberutv/git/commits{/sha}","comments_url":"https://api.github.com/repos/baberutv/baberutv/comments{/number}","issue_comment_url":"https://api.github.com/repos/baberutv/baberutv/issues/comments{/number}","contents_url":"https://api.github.com/repos/baberutv/baberutv/contents/{+path}","compare_url":"https://api.github.com/repos/baberutv/baberutv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baberutv/baberutv/merges","archive_url":"https://api.github.com/repos/baberutv/baberutv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baberutv/baberutv/downloads","issues_url":"https://api.github.com/repos/baberutv/baberutv/issues{/number}","pulls_url":"https://api.github.com/repos/baberutv/baberutv/pulls{/number}","milestones_url":"https://api.github.com/repos/baberutv/baberutv/milestones{/number}","notifications_url":"https://api.github.com/repos/baberutv/baberutv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baberutv/baberutv/labels{/name}","releases_url":"https://api.github.com/repos/baberutv/baberutv/releases{/id}","deployments_url":"https://api.github.com/repos/baberutv/baberutv/deployments","created_at":"2016-10-27T13:41:31Z","updated_at":"2016-11-05T19:58:59Z","pushed_at":"2017-03-02T10:23:50Z","git_url":"git://github.com/baberutv/baberutv.git","ssh_url":"git@github.com:baberutv/baberutv.git","clone_url":"https://github.com/baberutv/baberutv.git","svn_url":"https://github.com/baberutv/baberutv","homepage":"https://baberu.tv/","size":1003,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baberutv/baberutv/pulls/243"},"html":{"href":"https://github.com/baberutv/baberutv/pull/243"},"issue":{"href":"https://api.github.com/repos/baberutv/baberutv/issues/243"},"comments":{"href":"https://api.github.com/repos/baberutv/baberutv/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/baberutv/baberutv/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/baberutv/baberutv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baberutv/baberutv/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/baberutv/baberutv/statuses/e20df8ca7817a4d41234e17b75cc6019a63525e6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":65,"deletions":16,"changed_files":6}}
{"actor":{"display_login":"ykzts"}}