{"action":"created","issue":{"url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/8","repository_url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide","labels_url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/8/comments","events_url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/8/events","html_url":"https://github.com/pablohpsilva/vuejs-component-style-guide/issues/8","id":206259686,"number":8,"title":"Events names","user":{"login":"miljan-aleksic","id":513275,"avatar_url":"https://avatars.githubusercontent.com/u/513275?v=3","gravatar_id":"","url":"https://api.github.com/users/miljan-aleksic","html_url":"https://github.com/miljan-aleksic","followers_url":"https://api.github.com/users/miljan-aleksic/followers","following_url":"https://api.github.com/users/miljan-aleksic/following{/other_user}","gists_url":"https://api.github.com/users/miljan-aleksic/gists{/gist_id}","starred_url":"https://api.github.com/users/miljan-aleksic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miljan-aleksic/subscriptions","organizations_url":"https://api.github.com/users/miljan-aleksic/orgs","repos_url":"https://api.github.com/users/miljan-aleksic/repos","events_url":"https://api.github.com/users/miljan-aleksic/events{/privacy}","received_events_url":"https://api.github.com/users/miljan-aleksic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-02-08T17:00:40Z","updated_at":"2017-02-10T12:08:05Z","closed_at":null,"body":"When using the dom as the template there are limitations and one is particullary annoying. As the browser will lowercase the entire tag, events listeners declared as `@myEvent` would be saved as `myevent` and thus ignored when the component emmits `myEvent`. The same happens with props names, but in my tests seems Vue does the conversion.\r\n\r\nAs best practice the events should be named always as kebab case, `$emit('my-event')`."},"comment":{"url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/comments/278927925","html_url":"https://github.com/pablohpsilva/vuejs-component-style-guide/issues/8#issuecomment-278927925","issue_url":"https://api.github.com/repos/pablohpsilva/vuejs-component-style-guide/issues/8","id":278927925,"user":{"login":"kartsims","id":4136975,"avatar_url":"https://avatars.githubusercontent.com/u/4136975?v=3","gravatar_id":"","url":"https://api.github.com/users/kartsims","html_url":"https://github.com/kartsims","followers_url":"https://api.github.com/users/kartsims/followers","following_url":"https://api.github.com/users/kartsims/following{/other_user}","gists_url":"https://api.github.com/users/kartsims/gists{/gist_id}","starred_url":"https://api.github.com/users/kartsims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartsims/subscriptions","organizations_url":"https://api.github.com/users/kartsims/orgs","repos_url":"https://api.github.com/users/kartsims/repos","events_url":"https://api.github.com/users/kartsims/events{/privacy}","received_events_url":"https://api.github.com/users/kartsims/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T12:08:05Z","updated_at":"2017-02-10T12:08:05Z","body":"About the global bus event pattern, it works the same, if the bus doesn't listen to a specific event, no collision should happen...\r\n\r\nI haven't ever used one either as I don't believe it's good practice but I would be curious to see an example too."}}
{"actor":{"display_login":"kartsims"}}