{"action":"created","issue":{"url":"https://api.github.com/repos/trueadm/inferno/issues/405","repository_url":"https://api.github.com/repos/trueadm/inferno","labels_url":"https://api.github.com/repos/trueadm/inferno/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/trueadm/inferno/issues/405/comments","events_url":"https://api.github.com/repos/trueadm/inferno/issues/405/events","html_url":"https://github.com/trueadm/inferno/issues/405","id":179326938,"number":405,"title":"inferno-router should support stateless component hooks","user":{"login":"pearofducks","id":736895,"avatar_url":"https://avatars.githubusercontent.com/u/736895?v=3","gravatar_id":"","url":"https://api.github.com/users/pearofducks","html_url":"https://github.com/pearofducks","followers_url":"https://api.github.com/users/pearofducks/followers","following_url":"https://api.github.com/users/pearofducks/following{/other_user}","gists_url":"https://api.github.com/users/pearofducks/gists{/gist_id}","starred_url":"https://api.github.com/users/pearofducks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pearofducks/subscriptions","organizations_url":"https://api.github.com/users/pearofducks/orgs","repos_url":"https://api.github.com/users/pearofducks/repos","events_url":"https://api.github.com/users/pearofducks/events{/privacy}","received_events_url":"https://api.github.com/users/pearofducks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/trueadm/inferno/milestones/3","html_url":"https://github.com/trueadm/inferno/milestones/1.0","labels_url":"https://api.github.com/repos/trueadm/inferno/milestones/3/labels","id":1694476,"number":3,"title":"1.0","description":"","creator":{"login":"trueadm","id":1519870,"avatar_url":"https://avatars.githubusercontent.com/u/1519870?v=3","gravatar_id":"","url":"https://api.github.com/users/trueadm","html_url":"https://github.com/trueadm","followers_url":"https://api.github.com/users/trueadm/followers","following_url":"https://api.github.com/users/trueadm/following{/other_user}","gists_url":"https://api.github.com/users/trueadm/gists{/gist_id}","starred_url":"https://api.github.com/users/trueadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueadm/subscriptions","organizations_url":"https://api.github.com/users/trueadm/orgs","repos_url":"https://api.github.com/users/trueadm/repos","events_url":"https://api.github.com/users/trueadm/events{/privacy}","received_events_url":"https://api.github.com/users/trueadm/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":25,"state":"open","created_at":"2016-04-08T20:23:18Z","updated_at":"2016-09-29T23:02:37Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"comments":9,"created_at":"2016-09-26T20:19:09Z","updated_at":"2016-10-02T16:02:30Z","closed_at":null,"body":"Not sure if this is a usecase you want to support, but (IMO) the stateless component + hooks would feel more rounded out if it was also supported in Router and Route. Unless of course I've missed how one would accomplish this?\r\n\r\n`<Route path=\"/\" component={ StatelessComponent } onComponentDidMount={ doStuff() } />`"},"comment":{"url":"https://api.github.com/repos/trueadm/inferno/issues/comments/250978678","html_url":"https://github.com/trueadm/inferno/issues/405#issuecomment-250978678","issue_url":"https://api.github.com/repos/trueadm/inferno/issues/405","id":250978678,"user":{"login":"pearofducks","id":736895,"avatar_url":"https://avatars.githubusercontent.com/u/736895?v=3","gravatar_id":"","url":"https://api.github.com/users/pearofducks","html_url":"https://github.com/pearofducks","followers_url":"https://api.github.com/users/pearofducks/followers","following_url":"https://api.github.com/users/pearofducks/following{/other_user}","gists_url":"https://api.github.com/users/pearofducks/gists{/gist_id}","starred_url":"https://api.github.com/users/pearofducks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pearofducks/subscriptions","organizations_url":"https://api.github.com/users/pearofducks/orgs","repos_url":"https://api.github.com/users/pearofducks/repos","events_url":"https://api.github.com/users/pearofducks/events{/privacy}","received_events_url":"https://api.github.com/users/pearofducks/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T16:02:30Z","updated_at":"2016-10-02T16:02:30Z","body":"Vue has a good example of how hooks could be done:\r\n\r\nhttp://router.vuejs.org/en/advanced/navigation-guards.html\r\nhttp://router.vuejs.org/en/advanced/data-fetching.html\r\n"}}
{"actor":{"display_login":"pearofducks"}}