{"action":"created","issue":{"url":"https://api.github.com/repos/snabbdom/snabbdom/issues/163","repository_url":"https://api.github.com/repos/snabbdom/snabbdom","labels_url":"https://api.github.com/repos/snabbdom/snabbdom/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/snabbdom/snabbdom/issues/163/comments","events_url":"https://api.github.com/repos/snabbdom/snabbdom/issues/163/events","html_url":"https://github.com/snabbdom/snabbdom/pull/163","id":175748541,"node_id":"MDExOlB1bGxSZXF1ZXN0ODQ0NzM2NjY=","number":163,"title":"Handle null and boolean arguments in h helper","user":{"login":"valentin-nemcev","id":464357,"node_id":"MDQ6VXNlcjQ2NDM1Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/464357?v=4","gravatar_id":"","url":"https://api.github.com/users/valentin-nemcev","html_url":"https://github.com/valentin-nemcev","followers_url":"https://api.github.com/users/valentin-nemcev/followers","following_url":"https://api.github.com/users/valentin-nemcev/following{/other_user}","gists_url":"https://api.github.com/users/valentin-nemcev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentin-nemcev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentin-nemcev/subscriptions","organizations_url":"https://api.github.com/users/valentin-nemcev/orgs","repos_url":"https://api.github.com/users/valentin-nemcev/repos","events_url":"https://api.github.com/users/valentin-nemcev/events{/privacy}","received_events_url":"https://api.github.com/users/valentin-nemcev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-08T13:05:55Z","updated_at":"2018-10-25T01:35:13Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/snabbdom/snabbdom/pulls/163","html_url":"https://github.com/snabbdom/snabbdom/pull/163","diff_url":"https://github.com/snabbdom/snabbdom/pull/163.diff","patch_url":"https://github.com/snabbdom/snabbdom/pull/163.patch"},"body":"Right now when you use short form `h('em', person.name)` and person name is `null`, you get `Uncaught TypeError: Cannot read property 'key' of null` in `vnode.js:2`. \nAfter this PR, `h` helper (called with 2 or 3 arguments) ignores `null` values and converts number and boolean values to strings.\nThis is to improve robustness of vnode helper and reduce need for null checks in client code.\n"},"comment":{"url":"https://api.github.com/repos/snabbdom/snabbdom/issues/comments/432883057","html_url":"https://github.com/snabbdom/snabbdom/pull/163#issuecomment-432883057","issue_url":"https://api.github.com/repos/snabbdom/snabbdom/issues/163","id":432883057,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjg4MzA1Nw==","user":{"login":"mightyiam","id":635591,"node_id":"MDQ6VXNlcjYzNTU5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/635591?v=4","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T01:35:13Z","updated_at":"2018-10-25T01:35:13Z","author_association":"CONTRIBUTOR","body":"I, for one, don't like leniency in such a low level library as snabbdom."}}
{"actor":{"display_login":"mightyiam"}}