{"action":"created","comment":{"url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/comments/172013433","pull_request_review_id":100971622,"id":172013433,"diff_hunk":"@@ -43,14 +43,14 @@ This example assumes you are using a JavaScript compiler like [Babel](https://ba\n }\n ```\n \n-JSX is a language syntax extension that lets you write HTML tags interspersed with JavaScript. Because browsers don't understand JSX, we use a compiler to transform it into <samp>hyperapp.h</samp> function calls, our virtual DOM builder function.\n+JSX is a language syntax extension that lets you write HTML tags interspersed with JavaScript. Because browsers don't understand JSX, we use a compiler to transform it into <samp>hyperapp.createNode</samp> function calls, our virtual DOM builder function.\n \n ```jsx\n const view = (state, actions) =>\n-  h(\"div\", {}, [\n-    h(\"h1\", {}, state.count),\n-    h(\"button\", { onclick: () => actions.down(1) }, \"-\"),\n-    h(\"button\", { onclick: () => actions.up(1) }, \"+\")\n+  createNode(\"div\", {}, [\n+    createNode(\"h1\", {}, state.count),\n+    createNode(\"button\", { onclick: () => actions.down(1) }, \"-\"),\n+    createNode(\"button\", { onclick: () => actions.up(1) }, \"+\")\n   ])","path":"README.md","position":26,"original_position":26,"commit_id":"9b4e3418d836c2e592a7a4fec44887ca95c1d713","original_commit_id":"9b4e3418d836c2e592a7a4fec44887ca95c1d713","user":{"login":"jorgebucaran","id":56996,"avatar_url":"https://avatars1.githubusercontent.com/u/56996?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgebucaran","html_url":"https://github.com/jorgebucaran","followers_url":"https://api.github.com/users/jorgebucaran/followers","following_url":"https://api.github.com/users/jorgebucaran/following{/other_user}","gists_url":"https://api.github.com/users/jorgebucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgebucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgebucaran/subscriptions","organizations_url":"https://api.github.com/users/jorgebucaran/orgs","repos_url":"https://api.github.com/users/jorgebucaran/repos","events_url":"https://api.github.com/users/jorgebucaran/events{/privacy}","received_events_url":"https://api.github.com/users/jorgebucaran/received_events","type":"User","site_admin":false},"body":"Use `h` here.","created_at":"2018-03-03T10:42:37Z","updated_at":"2018-03-03T10:42:37Z","html_url":"https://github.com/hyperapp/hyperapp/pull/633#discussion_r172013433","pull_request_url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/comments/172013433"},"html":{"href":"https://github.com/hyperapp/hyperapp/pull/633#discussion_r172013433"},"pull_request":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633"}}},"pull_request":{"url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633","id":172525294,"html_url":"https://github.com/hyperapp/hyperapp/pull/633","diff_url":"https://github.com/hyperapp/hyperapp/pull/633.diff","patch_url":"https://github.com/hyperapp/hyperapp/pull/633.patch","issue_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/633","number":633,"state":"open","locked":false,"title":"add createNode","user":{"login":"uxitten","id":1549069,"avatar_url":"https://avatars0.githubusercontent.com/u/1549069?v=4","gravatar_id":"","url":"https://api.github.com/users/uxitten","html_url":"https://github.com/uxitten","followers_url":"https://api.github.com/users/uxitten/followers","following_url":"https://api.github.com/users/uxitten/following{/other_user}","gists_url":"https://api.github.com/users/uxitten/gists{/gist_id}","starred_url":"https://api.github.com/users/uxitten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uxitten/subscriptions","organizations_url":"https://api.github.com/users/uxitten/orgs","repos_url":"https://api.github.com/users/uxitten/repos","events_url":"https://api.github.com/users/uxitten/events{/privacy}","received_events_url":"https://api.github.com/users/uxitten/received_events","type":"User","site_admin":false},"body":"#632 ","created_at":"2018-03-02T15:05:59Z","updated_at":"2018-03-03T10:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49eb384cc6cf3f3f36ecd316d48d62c474662aef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":817108559,"url":"https://api.github.com/repos/hyperapp/hyperapp/labels/FIX","name":"FIX","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633/commits","review_comments_url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633/comments","review_comment_url":"https://api.github.com/repos/hyperapp/hyperapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/633/comments","statuses_url":"https://api.github.com/repos/hyperapp/hyperapp/statuses/9b4e3418d836c2e592a7a4fec44887ca95c1d713","head":{"label":"uxitten:master","ref":"master","sha":"9b4e3418d836c2e592a7a4fec44887ca95c1d713","user":{"login":"uxitten","id":1549069,"avatar_url":"https://avatars0.githubusercontent.com/u/1549069?v=4","gravatar_id":"","url":"https://api.github.com/users/uxitten","html_url":"https://github.com/uxitten","followers_url":"https://api.github.com/users/uxitten/followers","following_url":"https://api.github.com/users/uxitten/following{/other_user}","gists_url":"https://api.github.com/users/uxitten/gists{/gist_id}","starred_url":"https://api.github.com/users/uxitten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uxitten/subscriptions","organizations_url":"https://api.github.com/users/uxitten/orgs","repos_url":"https://api.github.com/users/uxitten/repos","events_url":"https://api.github.com/users/uxitten/events{/privacy}","received_events_url":"https://api.github.com/users/uxitten/received_events","type":"User","site_admin":false},"repo":{"id":122775390,"name":"hyperapp","full_name":"uxitten/hyperapp","owner":{"login":"uxitten","id":1549069,"avatar_url":"https://avatars0.githubusercontent.com/u/1549069?v=4","gravatar_id":"","url":"https://api.github.com/users/uxitten","html_url":"https://github.com/uxitten","followers_url":"https://api.github.com/users/uxitten/followers","following_url":"https://api.github.com/users/uxitten/following{/other_user}","gists_url":"https://api.github.com/users/uxitten/gists{/gist_id}","starred_url":"https://api.github.com/users/uxitten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uxitten/subscriptions","organizations_url":"https://api.github.com/users/uxitten/orgs","repos_url":"https://api.github.com/users/uxitten/repos","events_url":"https://api.github.com/users/uxitten/events{/privacy}","received_events_url":"https://api.github.com/users/uxitten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uxitten/hyperapp","description":"1 kB JavaScript library for building web applications.","fork":true,"url":"https://api.github.com/repos/uxitten/hyperapp","forks_url":"https://api.github.com/repos/uxitten/hyperapp/forks","keys_url":"https://api.github.com/repos/uxitten/hyperapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uxitten/hyperapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uxitten/hyperapp/teams","hooks_url":"https://api.github.com/repos/uxitten/hyperapp/hooks","issue_events_url":"https://api.github.com/repos/uxitten/hyperapp/issues/events{/number}","events_url":"https://api.github.com/repos/uxitten/hyperapp/events","assignees_url":"https://api.github.com/repos/uxitten/hyperapp/assignees{/user}","branches_url":"https://api.github.com/repos/uxitten/hyperapp/branches{/branch}","tags_url":"https://api.github.com/repos/uxitten/hyperapp/tags","blobs_url":"https://api.github.com/repos/uxitten/hyperapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uxitten/hyperapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uxitten/hyperapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uxitten/hyperapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uxitten/hyperapp/statuses/{sha}","languages_url":"https://api.github.com/repos/uxitten/hyperapp/languages","stargazers_url":"https://api.github.com/repos/uxitten/hyperapp/stargazers","contributors_url":"https://api.github.com/repos/uxitten/hyperapp/contributors","subscribers_url":"https://api.github.com/repos/uxitten/hyperapp/subscribers","subscription_url":"https://api.github.com/repos/uxitten/hyperapp/subscription","commits_url":"https://api.github.com/repos/uxitten/hyperapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uxitten/hyperapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uxitten/hyperapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uxitten/hyperapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uxitten/hyperapp/contents/{+path}","compare_url":"https://api.github.com/repos/uxitten/hyperapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uxitten/hyperapp/merges","archive_url":"https://api.github.com/repos/uxitten/hyperapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uxitten/hyperapp/downloads","issues_url":"https://api.github.com/repos/uxitten/hyperapp/issues{/number}","pulls_url":"https://api.github.com/repos/uxitten/hyperapp/pulls{/number}","milestones_url":"https://api.github.com/repos/uxitten/hyperapp/milestones{/number}","notifications_url":"https://api.github.com/repos/uxitten/hyperapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uxitten/hyperapp/labels{/name}","releases_url":"https://api.github.com/repos/uxitten/hyperapp/releases{/id}","deployments_url":"https://api.github.com/repos/uxitten/hyperapp/deployments","created_at":"2018-02-24T20:06:00Z","updated_at":"2018-02-24T20:06:02Z","pushed_at":"2018-03-03T06:10:37Z","git_url":"git://github.com/uxitten/hyperapp.git","ssh_url":"git@github.com:uxitten/hyperapp.git","clone_url":"https://github.com/uxitten/hyperapp.git","svn_url":"https://github.com/uxitten/hyperapp","homepage":"https://hyperapp.js.org","size":1464,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperapp:master","ref":"master","sha":"8c8d40f640309f383d272a4edaa8df4c520048cc","user":{"login":"hyperapp","id":25238911,"avatar_url":"https://avatars2.githubusercontent.com/u/25238911?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperapp","html_url":"https://github.com/hyperapp","followers_url":"https://api.github.com/users/hyperapp/followers","following_url":"https://api.github.com/users/hyperapp/following{/other_user}","gists_url":"https://api.github.com/users/hyperapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperapp/subscriptions","organizations_url":"https://api.github.com/users/hyperapp/orgs","repos_url":"https://api.github.com/users/hyperapp/repos","events_url":"https://api.github.com/users/hyperapp/events{/privacy}","received_events_url":"https://api.github.com/users/hyperapp/received_events","type":"Organization","site_admin":false},"repo":{"id":79527893,"name":"hyperapp","full_name":"hyperapp/hyperapp","owner":{"login":"hyperapp","id":25238911,"avatar_url":"https://avatars2.githubusercontent.com/u/25238911?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperapp","html_url":"https://github.com/hyperapp","followers_url":"https://api.github.com/users/hyperapp/followers","following_url":"https://api.github.com/users/hyperapp/following{/other_user}","gists_url":"https://api.github.com/users/hyperapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperapp/subscriptions","organizations_url":"https://api.github.com/users/hyperapp/orgs","repos_url":"https://api.github.com/users/hyperapp/repos","events_url":"https://api.github.com/users/hyperapp/events{/privacy}","received_events_url":"https://api.github.com/users/hyperapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperapp/hyperapp","description":"1 kB JavaScript framework for building web applications.","fork":false,"url":"https://api.github.com/repos/hyperapp/hyperapp","forks_url":"https://api.github.com/repos/hyperapp/hyperapp/forks","keys_url":"https://api.github.com/repos/hyperapp/hyperapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperapp/hyperapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperapp/hyperapp/teams","hooks_url":"https://api.github.com/repos/hyperapp/hyperapp/hooks","issue_events_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/events{/number}","events_url":"https://api.github.com/repos/hyperapp/hyperapp/events","assignees_url":"https://api.github.com/repos/hyperapp/hyperapp/assignees{/user}","branches_url":"https://api.github.com/repos/hyperapp/hyperapp/branches{/branch}","tags_url":"https://api.github.com/repos/hyperapp/hyperapp/tags","blobs_url":"https://api.github.com/repos/hyperapp/hyperapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperapp/hyperapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperapp/hyperapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperapp/hyperapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperapp/hyperapp/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperapp/hyperapp/languages","stargazers_url":"https://api.github.com/repos/hyperapp/hyperapp/stargazers","contributors_url":"https://api.github.com/repos/hyperapp/hyperapp/contributors","subscribers_url":"https://api.github.com/repos/hyperapp/hyperapp/subscribers","subscription_url":"https://api.github.com/repos/hyperapp/hyperapp/subscription","commits_url":"https://api.github.com/repos/hyperapp/hyperapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperapp/hyperapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperapp/hyperapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperapp/hyperapp/contents/{+path}","compare_url":"https://api.github.com/repos/hyperapp/hyperapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperapp/hyperapp/merges","archive_url":"https://api.github.com/repos/hyperapp/hyperapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperapp/hyperapp/downloads","issues_url":"https://api.github.com/repos/hyperapp/hyperapp/issues{/number}","pulls_url":"https://api.github.com/repos/hyperapp/hyperapp/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperapp/hyperapp/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperapp/hyperapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperapp/hyperapp/labels{/name}","releases_url":"https://api.github.com/repos/hyperapp/hyperapp/releases{/id}","deployments_url":"https://api.github.com/repos/hyperapp/hyperapp/deployments","created_at":"2017-01-20T05:20:21Z","updated_at":"2018-03-03T06:23:10Z","pushed_at":"2018-03-03T06:10:39Z","git_url":"git://github.com/hyperapp/hyperapp.git","ssh_url":"git@github.com:hyperapp/hyperapp.git","clone_url":"https://github.com/hyperapp/hyperapp.git","svn_url":"https://github.com/hyperapp/hyperapp","homepage":"https://hyperapp.js.org","size":1436,"stargazers_count":11527,"watchers_count":11527,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":526,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":526,"open_issues":15,"watchers":11527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633"},"html":{"href":"https://github.com/hyperapp/hyperapp/pull/633"},"issue":{"href":"https://api.github.com/repos/hyperapp/hyperapp/issues/633"},"comments":{"href":"https://api.github.com/repos/hyperapp/hyperapp/issues/633/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperapp/hyperapp/pulls/633/commits"},"statuses":{"href":"https://api.github.com/repos/hyperapp/hyperapp/statuses/9b4e3418d836c2e592a7a4fec44887ca95c1d713"}},"author_association":"NONE"}}
{"actor":{"display_login":"jorgebucaran"}}