{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/1271","repository_url":"https://api.github.com/repos/lhorie/mithril.js","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1271/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1271/events","html_url":"https://github.com/lhorie/mithril.js/issues/1271","id":173065206,"number":1271,"title":"[rewrite:router] Mithril shouldn't claim the `path` and `route` args. ","user":{"login":"pygy","id":54515,"avatar_url":"https://avatars.githubusercontent.com/u/54515?v=3","gravatar_id":"","url":"https://api.github.com/users/pygy","html_url":"https://github.com/pygy","followers_url":"https://api.github.com/users/pygy/followers","following_url":"https://api.github.com/users/pygy/following{/other_user}","gists_url":"https://api.github.com/users/pygy/gists{/gist_id}","starred_url":"https://api.github.com/users/pygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pygy/subscriptions","organizations_url":"https://api.github.com/users/pygy/orgs","repos_url":"https://api.github.com/users/pygy/repos","events_url":"https://api.github.com/users/pygy/events{/privacy}","received_events_url":"https://api.github.com/users/pygy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lhorie/mithril.js/labels/discussion","name":"discussion","color":"d4c5f9"},{"url":"https://api.github.com/repos/lhorie/mithril.js/labels/rewrite","name":"rewrite","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-24T21:42:50Z","updated_at":"2016-08-25T14:08:22Z","closed_at":null,"body":"Currently the route and path are passed as attributes on the `onmatch`/`render`/`view` vnode, potentially erasing useful information in the process.\r\n\r\nFrontend devs don't always control the URLs they are given, I think we should go back to\r\n\r\n`onmatch(resolve, args, path, route)` and maybe to `render(vnode, path, route)` ?"},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/242399637","html_url":"https://github.com/lhorie/mithril.js/issues/1271#issuecomment-242399637","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1271","id":242399637,"user":{"login":"lhorie","id":1637573,"avatar_url":"https://avatars.githubusercontent.com/u/1637573?v=3","gravatar_id":"","url":"https://api.github.com/users/lhorie","html_url":"https://github.com/lhorie","followers_url":"https://api.github.com/users/lhorie/followers","following_url":"https://api.github.com/users/lhorie/following{/other_user}","gists_url":"https://api.github.com/users/lhorie/gists{/gist_id}","starred_url":"https://api.github.com/users/lhorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhorie/subscriptions","organizations_url":"https://api.github.com/users/lhorie/orgs","repos_url":"https://api.github.com/users/lhorie/repos","events_url":"https://api.github.com/users/lhorie/events{/privacy}","received_events_url":"https://api.github.com/users/lhorie/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:08:21Z","updated_at":"2016-08-25T14:08:21Z","body":"yes it is possible. But again, if the rationale for removing it from vnode.attrs is that it's not useful, then why add an API method for it?"}}
{"actor":{"display_login":"lhorie"}}