{"action":"opened","issue":{"url":"https://api.github.com/repos/Kapranov/live_eex/issues/3","repository_url":"https://api.github.com/repos/Kapranov/live_eex","labels_url":"https://api.github.com/repos/Kapranov/live_eex/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Kapranov/live_eex/issues/3/comments","events_url":"https://api.github.com/repos/Kapranov/live_eex/issues/3/events","html_url":"https://github.com/Kapranov/live_eex/issues/3","id":383499577,"node_id":"MDU6SXNzdWUzODM0OTk1Nzc=","number":3,"title":"Add fingerprints to rendered templates","user":{"login":"Kapranov","id":1867781,"node_id":"MDQ6VXNlcjE4Njc3ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/1867781?v=4","gravatar_id":"","url":"https://api.github.com/users/Kapranov","html_url":"https://github.com/Kapranov","followers_url":"https://api.github.com/users/Kapranov/followers","following_url":"https://api.github.com/users/Kapranov/following{/other_user}","gists_url":"https://api.github.com/users/Kapranov/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapranov/subscriptions","organizations_url":"https://api.github.com/users/Kapranov/orgs","repos_url":"https://api.github.com/users/Kapranov/repos","events_url":"https://api.github.com/users/Kapranov/events{/privacy}","received_events_url":"https://api.github.com/users/Kapranov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-22T11:44:49Z","updated_at":"2018-11-22T11:44:49Z","closed_at":null,"author_association":"OWNER","body":"In order to support rendering of templates nested in other templates, such as:\r\n\r\n```bash\r\nInner template: <%= render \"foo.html\" %>\r\n```\r\n\r\nWe need to change LiveView to cope with nesting. But not only that, we need to fingerprint templates. Imagine this code:\r\n\r\n```bash\r\nDynamic inner template: <%= if some_condition?, do: render(\"foo.html\"), else: render(\"bar.html\") %>\r\n```\r\n\r\nBecause each template is different, we need to fingerprint them so we know if we are working with foo or bar whenever we are diffing their data on the client.\r\n"}}
{"actor":{"display_login":"Kapranov"}}