{"action":"created","issue":{"url":"https://api.github.com/repos/evancz/components/issues/7","repository_url":"https://api.github.com/repos/evancz/components","labels_url":"https://api.github.com/repos/evancz/components/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/evancz/components/issues/7/comments","events_url":"https://api.github.com/repos/evancz/components/issues/7/events","html_url":"https://github.com/evancz/components/pull/7","id":352003344,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NDI0MTUy","number":7,"title":"Rewrite React component to use class extends React.Component","user":{"login":"akselw","id":5320566,"node_id":"MDQ6VXNlcjUzMjA1NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/5320566?v=4","gravatar_id":"","url":"https://api.github.com/users/akselw","html_url":"https://github.com/akselw","followers_url":"https://api.github.com/users/akselw/followers","following_url":"https://api.github.com/users/akselw/following{/other_user}","gists_url":"https://api.github.com/users/akselw/gists{/gist_id}","starred_url":"https://api.github.com/users/akselw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akselw/subscriptions","organizations_url":"https://api.github.com/users/akselw/orgs","repos_url":"https://api.github.com/users/akselw/repos","events_url":"https://api.github.com/users/akselw/events{/privacy}","received_events_url":"https://api.github.com/users/akselw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-20T06:39:24Z","updated_at":"2018-08-20T07:25:25Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/evancz/components/pulls/7","html_url":"https://github.com/evancz/components/pull/7","diff_url":"https://github.com/evancz/components/pull/7.diff","patch_url":"https://github.com/evancz/components/pull/7.patch"},"body":"I haven't tested this with 0.19, but I assume that `Elm.Main.init` is new. This works on 0.18 when replacing `init` with `embed`."},"comment":{"url":"https://api.github.com/repos/evancz/components/issues/comments/414221819","html_url":"https://github.com/evancz/components/pull/7#issuecomment-414221819","issue_url":"https://api.github.com/repos/evancz/components/issues/7","id":414221819,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDIyMTgxOQ==","user":{"login":"brian-carroll","id":4647158,"node_id":"MDQ6VXNlcjQ2NDcxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/4647158?v=4","gravatar_id":"","url":"https://api.github.com/users/brian-carroll","html_url":"https://github.com/brian-carroll","followers_url":"https://api.github.com/users/brian-carroll/followers","following_url":"https://api.github.com/users/brian-carroll/following{/other_user}","gists_url":"https://api.github.com/users/brian-carroll/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-carroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-carroll/subscriptions","organizations_url":"https://api.github.com/users/brian-carroll/orgs","repos_url":"https://api.github.com/users/brian-carroll/repos","events_url":"https://api.github.com/users/brian-carroll/events{/privacy}","received_events_url":"https://api.github.com/users/brian-carroll/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T07:25:25Z","updated_at":"2018-08-20T07:25:25Z","author_association":"CONTRIBUTOR","body":"I tested the Angular example with 0.19 and I had to destructure it as `import { Elm } from ...`. As far as I can tell, this seems to be a difference from 0.18.\r\n\r\nSee discussion here:\r\nhttps://github.com/evancz/components/issues/6\r\n\r\n@evancz is there an expected difference in how Elm gets imported into JS?"}}
{"actor":{"display_login":"brian-carroll"}}