{"action":"created","issue":{"url":"https://api.github.com/repos/erikringsmuth/app-router/issues/125","labels_url":"https://api.github.com/repos/erikringsmuth/app-router/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/erikringsmuth/app-router/issues/125/comments","events_url":"https://api.github.com/repos/erikringsmuth/app-router/issues/125/events","html_url":"https://github.com/erikringsmuth/app-router/issues/125","id":78705365,"number":125,"title":"Avoid recreating model if only query search parameter changes","user":{"login":"drarmstr","id":4674792,"avatar_url":"https://avatars.githubusercontent.com/u/4674792?v=3","gravatar_id":"","url":"https://api.github.com/users/drarmstr","html_url":"https://github.com/drarmstr","followers_url":"https://api.github.com/users/drarmstr/followers","following_url":"https://api.github.com/users/drarmstr/following{/other_user}","gists_url":"https://api.github.com/users/drarmstr/gists{/gist_id}","starred_url":"https://api.github.com/users/drarmstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drarmstr/subscriptions","organizations_url":"https://api.github.com/users/drarmstr/orgs","repos_url":"https://api.github.com/users/drarmstr/repos","events_url":"https://api.github.com/users/drarmstr/events{/privacy}","received_events_url":"https://api.github.com/users/drarmstr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T21:28:36Z","updated_at":"2015-05-20T23:19:06Z","closed_at":null,"body":"If only a query search parameter changes (either in the main URL or in the URL hash) if would be nice to have a mode which avoided recreating the models and instead just updated the data binding.\r\n\r\nFor example, going from:\r\n\r\nhttp://server.com/path/path?server=blarg#route?param=foo\r\nto:\r\nhttp://server.com/path/path?server=blarg#route?param=bar\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/erikringsmuth/app-router/issues/comments/104069582","html_url":"https://github.com/erikringsmuth/app-router/issues/125#issuecomment-104069582","issue_url":"https://api.github.com/repos/erikringsmuth/app-router/issues/125","id":104069582,"user":{"login":"erikringsmuth","id":1128965,"avatar_url":"https://avatars.githubusercontent.com/u/1128965?v=3","gravatar_id":"","url":"https://api.github.com/users/erikringsmuth","html_url":"https://github.com/erikringsmuth","followers_url":"https://api.github.com/users/erikringsmuth/followers","following_url":"https://api.github.com/users/erikringsmuth/following{/other_user}","gists_url":"https://api.github.com/users/erikringsmuth/gists{/gist_id}","starred_url":"https://api.github.com/users/erikringsmuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikringsmuth/subscriptions","organizations_url":"https://api.github.com/users/erikringsmuth/orgs","repos_url":"https://api.github.com/users/erikringsmuth/repos","events_url":"https://api.github.com/users/erikringsmuth/events{/privacy}","received_events_url":"https://api.github.com/users/erikringsmuth/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:19:06Z","updated_at":"2015-05-20T23:19:06Z","body":"You can do that with `onUrlChange=\"updateModel\"`!\r\nhttps://erikringsmuth.github.io/app-router/#/api#onurlchange\r\n\r\n```html\r\n<app-router>\r\n  <app-route path=\"/user/:userId/**\" element=\"user-page\" onUrlChange=\"updateModel\"></app-route>\r\n</app-router>\r\n```"}}