{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/2255","repository_url":"https://api.github.com/repos/vuejs/vue-router","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/2255/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/2255/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/2255/events","html_url":"https://github.com/vuejs/vue-router/issues/2255","id":332098171,"node_id":"MDU6SXNzdWUzMzIwOTgxNzE=","number":2255,"title":"beforeRouteEnter not calling next callback and beforeRouteUpdate not called when using the same component on two routes","user":{"login":"coxy","id":1160,"node_id":"MDQ6VXNlcjExNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1160?v=4","gravatar_id":"","url":"https://api.github.com/users/coxy","html_url":"https://github.com/coxy","followers_url":"https://api.github.com/users/coxy/followers","following_url":"https://api.github.com/users/coxy/following{/other_user}","gists_url":"https://api.github.com/users/coxy/gists{/gist_id}","starred_url":"https://api.github.com/users/coxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coxy/subscriptions","organizations_url":"https://api.github.com/users/coxy/orgs","repos_url":"https://api.github.com/users/coxy/repos","events_url":"https://api.github.com/users/coxy/events{/privacy}","received_events_url":"https://api.github.com/users/coxy/received_events","type":"User","site_admin":false},"labels":[{"id":70207340,"node_id":"MDU6TGFiZWw3MDIwNzM0MA==","url":"https://api.github.com/repos/vuejs/vue-router/labels/bug","name":"bug","color":"fc2929","default":true},{"id":988786807,"node_id":"MDU6TGFiZWw5ODg3ODY4MDc=","url":"https://api.github.com/repos/vuejs/vue-router/labels/has%20workaround","name":"has workaround","color":"ccf4ff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-06-13T17:49:06Z","updated_at":"2018-08-07T21:19:29Z","closed_at":null,"author_association":"NONE","body":"### Version\r\n3.0.1\r\n\r\n### Reproduction link\r\n[https://codesandbox.io/s/qqoy3zox0j](https://codesandbox.io/s/qqoy3zox0j)\r\n\r\n### Steps to reproduce\r\nClick on each of the links in order in the example and also check the console.\r\n\r\n### What is expected?\r\nI would expect the _beforeRouteUpdate_ to be called after each page transition as all the routes share the same component.\r\n\r\n### What is actually happening?\r\nFirstly, the route transition from **Page 2** to **Nested Page 1** calls the _beforeRouteEnter_ hook, but doesn't execute the next callback (hence why count doesn't update). Secondly, the route transition from **Nested Page 1** to **Nested Page 2** doesn't call either the _beforeRouteEnter_ or the _beforeRouteUpdate_ hooks.\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/comments/411206193","html_url":"https://github.com/vuejs/vue-router/issues/2255#issuecomment-411206193","issue_url":"https://api.github.com/repos/vuejs/vue-router/issues/2255","id":411206193,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTIwNjE5Mw==","user":{"login":"posva","id":664177,"node_id":"MDQ6VXNlcjY2NDE3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/664177?v=4","gravatar_id":"","url":"https://api.github.com/users/posva","html_url":"https://github.com/posva","followers_url":"https://api.github.com/users/posva/followers","following_url":"https://api.github.com/users/posva/following{/other_user}","gists_url":"https://api.github.com/users/posva/gists{/gist_id}","starred_url":"https://api.github.com/users/posva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posva/subscriptions","organizations_url":"https://api.github.com/users/posva/orgs","repos_url":"https://api.github.com/users/posva/repos","events_url":"https://api.github.com/users/posva/events{/privacy}","received_events_url":"https://api.github.com/users/posva/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T21:19:29Z","updated_at":"2018-08-07T21:19:29Z","author_association":"MEMBER","body":"it's vue's api"}}
{"actor":{"display_login":"posva"}}