{"action":"closed","issue":{"url":"https://api.github.com/repos/developit/preact/issues/399","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/399/comments","events_url":"https://api.github.com/repos/developit/preact/issues/399/events","html_url":"https://github.com/developit/preact/issues/399","id":188935996,"number":399,"title":"[Feature Request] Allow omit props in h function","user":{"login":"NicolasParada","id":7969166,"avatar_url":"https://avatars.githubusercontent.com/u/7969166?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasParada","html_url":"https://github.com/NicolasParada","followers_url":"https://api.github.com/users/NicolasParada/followers","following_url":"https://api.github.com/users/NicolasParada/following{/other_user}","gists_url":"https://api.github.com/users/NicolasParada/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasParada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasParada/subscriptions","organizations_url":"https://api.github.com/users/NicolasParada/orgs","repos_url":"https://api.github.com/users/NicolasParada/repos","events_url":"https://api.github.com/users/NicolasParada/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasParada/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-12T21:33:45Z","updated_at":"2016-11-13T17:49:32Z","closed_at":"2016-11-13T17:49:32Z","body":"Sometimes you are using preact from a CDN and you are not transpiling any jsx, you're just using the h function directly.\r\nIt would be nicer to allow omit the props.\r\nFor example:\r\n```js\r\nconst HelloWorld = () =>\r\n  h('h1', null, 'Hello, world!')\r\n```\r\nIt could be writen as:\r\n```js\r\nconst HelloWorld = () =>\r\n  h('h1', 'Hello, world!')\r\n```"}}
{"actor":{"display_login":"NicolasParada"}}