{"action":"opened","number":108,"pull_request":{"url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108","id":87932525,"html_url":"https://github.com/tbranyen/diffhtml/pull/108","diff_url":"https://github.com/tbranyen/diffhtml/pull/108.diff","patch_url":"https://github.com/tbranyen/diffhtml/pull/108.patch","issue_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/108","number":108,"state":"open","locked":false,"title":"Add stateful components","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"body":"A component can now \"take-over\" a specific region of the page, by\r\nsupplying a function with a render method.\r\n\r\nA stateful component looks like:\r\n\r\n    ``` javascript\r\n    import { html } from 'diffthml';\r\n\r\n    class Component {\r\n      render() {\r\n        return html`\r\n          <div>\r\n            My component is awesome!\r\n          </div>\r\n        `;\r\n      }\r\n    }\r\n    ```","created_at":"2016-10-04T16:50:47Z","updated_at":"2016-10-04T16:50:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108/commits","review_comments_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108/comments","review_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/108/comments","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/2f01c8485a8afb388165c2355a5112b73f5e4b99","head":{"label":"tbranyen:add-stateful-components","ref":"add-stateful-components","sha":"2f01c8485a8afb388165c2355a5112b73f5e4b99","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"repo":{"id":34007876,"name":"diffhtml","full_name":"tbranyen/diffhtml","owner":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbranyen/diffhtml","description":"Easily diff HTML with transitions and tagged template strings, website is WIP:","fork":false,"url":"https://api.github.com/repos/tbranyen/diffhtml","forks_url":"https://api.github.com/repos/tbranyen/diffhtml/forks","keys_url":"https://api.github.com/repos/tbranyen/diffhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbranyen/diffhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbranyen/diffhtml/teams","hooks_url":"https://api.github.com/repos/tbranyen/diffhtml/hooks","issue_events_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/events{/number}","events_url":"https://api.github.com/repos/tbranyen/diffhtml/events","assignees_url":"https://api.github.com/repos/tbranyen/diffhtml/assignees{/user}","branches_url":"https://api.github.com/repos/tbranyen/diffhtml/branches{/branch}","tags_url":"https://api.github.com/repos/tbranyen/diffhtml/tags","blobs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbranyen/diffhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbranyen/diffhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/tbranyen/diffhtml/languages","stargazers_url":"https://api.github.com/repos/tbranyen/diffhtml/stargazers","contributors_url":"https://api.github.com/repos/tbranyen/diffhtml/contributors","subscribers_url":"https://api.github.com/repos/tbranyen/diffhtml/subscribers","subscription_url":"https://api.github.com/repos/tbranyen/diffhtml/subscription","commits_url":"https://api.github.com/repos/tbranyen/diffhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbranyen/diffhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbranyen/diffhtml/contents/{+path}","compare_url":"https://api.github.com/repos/tbranyen/diffhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbranyen/diffhtml/merges","archive_url":"https://api.github.com/repos/tbranyen/diffhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbranyen/diffhtml/downloads","issues_url":"https://api.github.com/repos/tbranyen/diffhtml/issues{/number}","pulls_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/tbranyen/diffhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/tbranyen/diffhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbranyen/diffhtml/labels{/name}","releases_url":"https://api.github.com/repos/tbranyen/diffhtml/releases{/id}","deployments_url":"https://api.github.com/repos/tbranyen/diffhtml/deployments","created_at":"2015-04-15T17:17:05Z","updated_at":"2016-09-29T16:07:29Z","pushed_at":"2016-10-04T16:50:47Z","git_url":"git://github.com/tbranyen/diffhtml.git","ssh_url":"git@github.com:tbranyen/diffhtml.git","clone_url":"https://github.com/tbranyen/diffhtml.git","svn_url":"https://github.com/tbranyen/diffhtml","homepage":"https://www.diffhtml.org/","size":2819,"stargazers_count":579,"watchers_count":579,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":10,"forks":23,"open_issues":10,"watchers":579,"default_branch":"master"}},"base":{"label":"tbranyen:master","ref":"master","sha":"e17977fab058d9243abdc371860345e81189c8b1","user":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"repo":{"id":34007876,"name":"diffhtml","full_name":"tbranyen/diffhtml","owner":{"login":"tbranyen","id":181635,"avatar_url":"https://avatars.githubusercontent.com/u/181635?v=3","gravatar_id":"","url":"https://api.github.com/users/tbranyen","html_url":"https://github.com/tbranyen","followers_url":"https://api.github.com/users/tbranyen/followers","following_url":"https://api.github.com/users/tbranyen/following{/other_user}","gists_url":"https://api.github.com/users/tbranyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tbranyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbranyen/subscriptions","organizations_url":"https://api.github.com/users/tbranyen/orgs","repos_url":"https://api.github.com/users/tbranyen/repos","events_url":"https://api.github.com/users/tbranyen/events{/privacy}","received_events_url":"https://api.github.com/users/tbranyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbranyen/diffhtml","description":"Easily diff HTML with transitions and tagged template strings, website is WIP:","fork":false,"url":"https://api.github.com/repos/tbranyen/diffhtml","forks_url":"https://api.github.com/repos/tbranyen/diffhtml/forks","keys_url":"https://api.github.com/repos/tbranyen/diffhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbranyen/diffhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbranyen/diffhtml/teams","hooks_url":"https://api.github.com/repos/tbranyen/diffhtml/hooks","issue_events_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/events{/number}","events_url":"https://api.github.com/repos/tbranyen/diffhtml/events","assignees_url":"https://api.github.com/repos/tbranyen/diffhtml/assignees{/user}","branches_url":"https://api.github.com/repos/tbranyen/diffhtml/branches{/branch}","tags_url":"https://api.github.com/repos/tbranyen/diffhtml/tags","blobs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbranyen/diffhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbranyen/diffhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbranyen/diffhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbranyen/diffhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/tbranyen/diffhtml/languages","stargazers_url":"https://api.github.com/repos/tbranyen/diffhtml/stargazers","contributors_url":"https://api.github.com/repos/tbranyen/diffhtml/contributors","subscribers_url":"https://api.github.com/repos/tbranyen/diffhtml/subscribers","subscription_url":"https://api.github.com/repos/tbranyen/diffhtml/subscription","commits_url":"https://api.github.com/repos/tbranyen/diffhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbranyen/diffhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbranyen/diffhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbranyen/diffhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbranyen/diffhtml/contents/{+path}","compare_url":"https://api.github.com/repos/tbranyen/diffhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbranyen/diffhtml/merges","archive_url":"https://api.github.com/repos/tbranyen/diffhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbranyen/diffhtml/downloads","issues_url":"https://api.github.com/repos/tbranyen/diffhtml/issues{/number}","pulls_url":"https://api.github.com/repos/tbranyen/diffhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/tbranyen/diffhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/tbranyen/diffhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbranyen/diffhtml/labels{/name}","releases_url":"https://api.github.com/repos/tbranyen/diffhtml/releases{/id}","deployments_url":"https://api.github.com/repos/tbranyen/diffhtml/deployments","created_at":"2015-04-15T17:17:05Z","updated_at":"2016-09-29T16:07:29Z","pushed_at":"2016-10-04T16:50:47Z","git_url":"git://github.com/tbranyen/diffhtml.git","ssh_url":"git@github.com:tbranyen/diffhtml.git","clone_url":"https://github.com/tbranyen/diffhtml.git","svn_url":"https://github.com/tbranyen/diffhtml","homepage":"https://www.diffhtml.org/","size":2819,"stargazers_count":579,"watchers_count":579,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":10,"forks":23,"open_issues":10,"watchers":579,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108"},"html":{"href":"https://github.com/tbranyen/diffhtml/pull/108"},"issue":{"href":"https://api.github.com/repos/tbranyen/diffhtml/issues/108"},"comments":{"href":"https://api.github.com/repos/tbranyen/diffhtml/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tbranyen/diffhtml/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/tbranyen/diffhtml/statuses/2f01c8485a8afb388165c2355a5112b73f5e4b99"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":623,"deletions":49,"changed_files":12}}
{"actor":{"display_login":"tbranyen"}}