{"action":"created","issue":{"url":"https://api.github.com/repos/jessetane/unicodes/issues/4","labels_url":"https://api.github.com/repos/jessetane/unicodes/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jessetane/unicodes/issues/4/comments","events_url":"https://api.github.com/repos/jessetane/unicodes/issues/4/events","html_url":"https://github.com/jessetane/unicodes/issues/4","id":122316438,"number":4,"title":"Architecture question","user":{"login":"jessetane","id":452396,"avatar_url":"https://avatars.githubusercontent.com/u/452396?v=3","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T16:52:18Z","updated_at":"2015-12-18T00:31:28Z","closed_at":null,"body":"I added a component to show the current block, and allow jumping directly to other blocks. Typically keeping components cleanly separated is easy enough as they only need information from the url to get themselves into the proper state. However this is not the case with the block selector, which is driven by and directly affects only the chart component (irrespective of the url). I like being able to declaratively specify where the component is located in the DOM with HTML, but feel a bit funny about how tightly coupled it is with the chart. I decided that I was overthinking things (there is only ever one instance of each component in this app) and used `document.querySelector` to grab a module scoped reference to the chart, but I'd be interested to hear other ideas for dealing with component inter-dependencies like this!"},"comment":{"url":"https://api.github.com/repos/jessetane/unicodes/issues/comments/165624108","html_url":"https://github.com/jessetane/unicodes/issues/4#issuecomment-165624108","issue_url":"https://api.github.com/repos/jessetane/unicodes/issues/4","id":165624108,"user":{"login":"jessetane","id":452396,"avatar_url":"https://avatars.githubusercontent.com/u/452396?v=3","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T00:31:28Z","updated_at":"2015-12-18T00:31:28Z","body":"Maybe use `window.dispatchEvent`?"}}