{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29","id":166759452,"html_url":"https://github.com/lennym/govuk-react-components/pull/29","diff_url":"https://github.com/lennym/govuk-react-components/pull/29.diff","patch_url":"https://github.com/lennym/govuk-react-components/pull/29.patch","issue_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/29","number":29,"state":"open","locked":false,"title":"Use import instead of require in jsx","user":{"login":"lennym","id":117398,"avatar_url":"https://avatars3.githubusercontent.com/u/117398?v=4","gravatar_id":"","url":"https://api.github.com/users/lennym","html_url":"https://github.com/lennym","followers_url":"https://api.github.com/users/lennym/followers","following_url":"https://api.github.com/users/lennym/following{/other_user}","gists_url":"https://api.github.com/users/lennym/gists{/gist_id}","starred_url":"https://api.github.com/users/lennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennym/subscriptions","organizations_url":"https://api.github.com/users/lennym/orgs","repos_url":"https://api.github.com/users/lennym/repos","events_url":"https://api.github.com/users/lennym/events{/privacy}","received_events_url":"https://api.github.com/users/lennym/received_events","type":"User","site_admin":false},"body":"This gets around any ugliness caused by the occasionally uncertain structure of ES modules compiled into common js. Wherever we use jsx, and so a compile step is necessary anyway, we might as well also use ES modules for cleanliness.","created_at":"2018-02-02T09:55:10Z","updated_at":"2018-02-02T09:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29/commits","review_comments_url":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29/comments","review_comment_url":"https://api.github.com/repos/lennym/govuk-react-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/29/comments","statuses_url":"https://api.github.com/repos/lennym/govuk-react-components/statuses/5571b824d6cd016256790e99c05d99d1314c0723","head":{"label":"lennym:experiment/import-in-views","ref":"experiment/import-in-views","sha":"5571b824d6cd016256790e99c05d99d1314c0723","user":{"login":"lennym","id":117398,"avatar_url":"https://avatars3.githubusercontent.com/u/117398?v=4","gravatar_id":"","url":"https://api.github.com/users/lennym","html_url":"https://github.com/lennym","followers_url":"https://api.github.com/users/lennym/followers","following_url":"https://api.github.com/users/lennym/following{/other_user}","gists_url":"https://api.github.com/users/lennym/gists{/gist_id}","starred_url":"https://api.github.com/users/lennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennym/subscriptions","organizations_url":"https://api.github.com/users/lennym/orgs","repos_url":"https://api.github.com/users/lennym/repos","events_url":"https://api.github.com/users/lennym/events{/privacy}","received_events_url":"https://api.github.com/users/lennym/received_events","type":"User","site_admin":false},"repo":{"id":116812780,"name":"govuk-react-components","full_name":"lennym/govuk-react-components","owner":{"login":"lennym","id":117398,"avatar_url":"https://avatars3.githubusercontent.com/u/117398?v=4","gravatar_id":"","url":"https://api.github.com/users/lennym","html_url":"https://github.com/lennym","followers_url":"https://api.github.com/users/lennym/followers","following_url":"https://api.github.com/users/lennym/following{/other_user}","gists_url":"https://api.github.com/users/lennym/gists{/gist_id}","starred_url":"https://api.github.com/users/lennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennym/subscriptions","organizations_url":"https://api.github.com/users/lennym/orgs","repos_url":"https://api.github.com/users/lennym/repos","events_url":"https://api.github.com/users/lennym/events{/privacy}","received_events_url":"https://api.github.com/users/lennym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lennym/govuk-react-components","description":null,"fork":false,"url":"https://api.github.com/repos/lennym/govuk-react-components","forks_url":"https://api.github.com/repos/lennym/govuk-react-components/forks","keys_url":"https://api.github.com/repos/lennym/govuk-react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lennym/govuk-react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lennym/govuk-react-components/teams","hooks_url":"https://api.github.com/repos/lennym/govuk-react-components/hooks","issue_events_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/events{/number}","events_url":"https://api.github.com/repos/lennym/govuk-react-components/events","assignees_url":"https://api.github.com/repos/lennym/govuk-react-components/assignees{/user}","branches_url":"https://api.github.com/repos/lennym/govuk-react-components/branches{/branch}","tags_url":"https://api.github.com/repos/lennym/govuk-react-components/tags","blobs_url":"https://api.github.com/repos/lennym/govuk-react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lennym/govuk-react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lennym/govuk-react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/lennym/govuk-react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lennym/govuk-react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/lennym/govuk-react-components/languages","stargazers_url":"https://api.github.com/repos/lennym/govuk-react-components/stargazers","contributors_url":"https://api.github.com/repos/lennym/govuk-react-components/contributors","subscribers_url":"https://api.github.com/repos/lennym/govuk-react-components/subscribers","subscription_url":"https://api.github.com/repos/lennym/govuk-react-components/subscription","commits_url":"https://api.github.com/repos/lennym/govuk-react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/lennym/govuk-react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/lennym/govuk-react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/lennym/govuk-react-components/contents/{+path}","compare_url":"https://api.github.com/repos/lennym/govuk-react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lennym/govuk-react-components/merges","archive_url":"https://api.github.com/repos/lennym/govuk-react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lennym/govuk-react-components/downloads","issues_url":"https://api.github.com/repos/lennym/govuk-react-components/issues{/number}","pulls_url":"https://api.github.com/repos/lennym/govuk-react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/lennym/govuk-react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/lennym/govuk-react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lennym/govuk-react-components/labels{/name}","releases_url":"https://api.github.com/repos/lennym/govuk-react-components/releases{/id}","deployments_url":"https://api.github.com/repos/lennym/govuk-react-components/deployments","created_at":"2018-01-09T12:22:43Z","updated_at":"2018-02-02T08:43:26Z","pushed_at":"2018-02-02T09:54:58Z","git_url":"git://github.com/lennym/govuk-react-components.git","ssh_url":"git@github.com:lennym/govuk-react-components.git","clone_url":"https://github.com/lennym/govuk-react-components.git","svn_url":"https://github.com/lennym/govuk-react-components","homepage":null,"size":164,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"lennym:master","ref":"master","sha":"fae894ffa3d1d98d334dc429f1b2ab87681f2a70","user":{"login":"lennym","id":117398,"avatar_url":"https://avatars3.githubusercontent.com/u/117398?v=4","gravatar_id":"","url":"https://api.github.com/users/lennym","html_url":"https://github.com/lennym","followers_url":"https://api.github.com/users/lennym/followers","following_url":"https://api.github.com/users/lennym/following{/other_user}","gists_url":"https://api.github.com/users/lennym/gists{/gist_id}","starred_url":"https://api.github.com/users/lennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennym/subscriptions","organizations_url":"https://api.github.com/users/lennym/orgs","repos_url":"https://api.github.com/users/lennym/repos","events_url":"https://api.github.com/users/lennym/events{/privacy}","received_events_url":"https://api.github.com/users/lennym/received_events","type":"User","site_admin":false},"repo":{"id":116812780,"name":"govuk-react-components","full_name":"lennym/govuk-react-components","owner":{"login":"lennym","id":117398,"avatar_url":"https://avatars3.githubusercontent.com/u/117398?v=4","gravatar_id":"","url":"https://api.github.com/users/lennym","html_url":"https://github.com/lennym","followers_url":"https://api.github.com/users/lennym/followers","following_url":"https://api.github.com/users/lennym/following{/other_user}","gists_url":"https://api.github.com/users/lennym/gists{/gist_id}","starred_url":"https://api.github.com/users/lennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennym/subscriptions","organizations_url":"https://api.github.com/users/lennym/orgs","repos_url":"https://api.github.com/users/lennym/repos","events_url":"https://api.github.com/users/lennym/events{/privacy}","received_events_url":"https://api.github.com/users/lennym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lennym/govuk-react-components","description":null,"fork":false,"url":"https://api.github.com/repos/lennym/govuk-react-components","forks_url":"https://api.github.com/repos/lennym/govuk-react-components/forks","keys_url":"https://api.github.com/repos/lennym/govuk-react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lennym/govuk-react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lennym/govuk-react-components/teams","hooks_url":"https://api.github.com/repos/lennym/govuk-react-components/hooks","issue_events_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/events{/number}","events_url":"https://api.github.com/repos/lennym/govuk-react-components/events","assignees_url":"https://api.github.com/repos/lennym/govuk-react-components/assignees{/user}","branches_url":"https://api.github.com/repos/lennym/govuk-react-components/branches{/branch}","tags_url":"https://api.github.com/repos/lennym/govuk-react-components/tags","blobs_url":"https://api.github.com/repos/lennym/govuk-react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lennym/govuk-react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lennym/govuk-react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/lennym/govuk-react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lennym/govuk-react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/lennym/govuk-react-components/languages","stargazers_url":"https://api.github.com/repos/lennym/govuk-react-components/stargazers","contributors_url":"https://api.github.com/repos/lennym/govuk-react-components/contributors","subscribers_url":"https://api.github.com/repos/lennym/govuk-react-components/subscribers","subscription_url":"https://api.github.com/repos/lennym/govuk-react-components/subscription","commits_url":"https://api.github.com/repos/lennym/govuk-react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/lennym/govuk-react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/lennym/govuk-react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/lennym/govuk-react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/lennym/govuk-react-components/contents/{+path}","compare_url":"https://api.github.com/repos/lennym/govuk-react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lennym/govuk-react-components/merges","archive_url":"https://api.github.com/repos/lennym/govuk-react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lennym/govuk-react-components/downloads","issues_url":"https://api.github.com/repos/lennym/govuk-react-components/issues{/number}","pulls_url":"https://api.github.com/repos/lennym/govuk-react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/lennym/govuk-react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/lennym/govuk-react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lennym/govuk-react-components/labels{/name}","releases_url":"https://api.github.com/repos/lennym/govuk-react-components/releases{/id}","deployments_url":"https://api.github.com/repos/lennym/govuk-react-components/deployments","created_at":"2018-01-09T12:22:43Z","updated_at":"2018-02-02T08:43:26Z","pushed_at":"2018-02-02T09:54:58Z","git_url":"git://github.com/lennym/govuk-react-components.git","ssh_url":"git@github.com:lennym/govuk-react-components.git","clone_url":"https://github.com/lennym/govuk-react-components.git","svn_url":"https://github.com/lennym/govuk-react-components","homepage":null,"size":164,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29"},"html":{"href":"https://github.com/lennym/govuk-react-components/pull/29"},"issue":{"href":"https://api.github.com/repos/lennym/govuk-react-components/issues/29"},"comments":{"href":"https://api.github.com/repos/lennym/govuk-react-components/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/lennym/govuk-react-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lennym/govuk-react-components/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/lennym/govuk-react-components/statuses/5571b824d6cd016256790e99c05d99d1314c0723"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":15,"changed_files":2}}
{"actor":{"display_login":"lennym"}}