{"action":"created","issue":{"url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/574","repository_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue","labels_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/574/labels{/name}","comments_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/574/comments","events_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/574/events","html_url":"https://github.com/bootstrap-vue/bootstrap-vue/pull/574","id":239344334,"number":574,"title":"[collapse][nav-toggle] Ensure event listeners are removed on unmount","user":{"login":"tmorehouse","id":2781561,"avatar_url":"https://avatars0.githubusercontent.com/u/2781561?v=3","gravatar_id":"","url":"https://api.github.com/users/tmorehouse","html_url":"https://github.com/tmorehouse","followers_url":"https://api.github.com/users/tmorehouse/followers","following_url":"https://api.github.com/users/tmorehouse/following{/other_user}","gists_url":"https://api.github.com/users/tmorehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/tmorehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmorehouse/subscriptions","organizations_url":"https://api.github.com/users/tmorehouse/orgs","repos_url":"https://api.github.com/users/tmorehouse/repos","events_url":"https://api.github.com/users/tmorehouse/events{/privacy}","received_events_url":"https://api.github.com/users/tmorehouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-29T01:48:55Z","updated_at":"2017-06-29T15:37:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/pulls/574","html_url":"https://github.com/bootstrap-vue/bootstrap-vue/pull/574","diff_url":"https://github.com/bootstrap-vue/bootstrap-vue/pull/574.diff","patch_url":"https://github.com/bootstrap-vue/bootstrap-vue/pull/574.patch"},"body":"Ensure that our state listeners get removed before unmounted.\r\n\r\nFix for issue #569 \r\n\r\nI'm not positive about the move from `created` to `mounted` for initializing the event listeners though.  Thoughts?"},"comment":{"url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/comments/312005404","html_url":"https://github.com/bootstrap-vue/bootstrap-vue/pull/574#issuecomment-312005404","issue_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/574","id":312005404,"user":{"login":"alexsasharegan","id":16269252,"avatar_url":"https://avatars1.githubusercontent.com/u/16269252?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsasharegan","html_url":"https://github.com/alexsasharegan","followers_url":"https://api.github.com/users/alexsasharegan/followers","following_url":"https://api.github.com/users/alexsasharegan/following{/other_user}","gists_url":"https://api.github.com/users/alexsasharegan/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsasharegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsasharegan/subscriptions","organizations_url":"https://api.github.com/users/alexsasharegan/orgs","repos_url":"https://api.github.com/users/alexsasharegan/repos","events_url":"https://api.github.com/users/alexsasharegan/events{/privacy}","received_events_url":"https://api.github.com/users/alexsasharegan/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T15:37:49Z","updated_at":"2017-06-29T15:37:49Z","body":"So listening to root events could easily be done on either created or mounted since it's not a dom event. If the event listener makes a dom related change, I saw use the mounted hook instead. Why listen for an event when you haven't even rendered yet?"}}
{"actor":{"display_login":"alexsasharegan"}}