{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/rfcs/issues/77","repository_url":"https://api.github.com/repos/emberjs/rfcs","labels_url":"https://api.github.com/repos/emberjs/rfcs/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/rfcs/issues/77/comments","events_url":"https://api.github.com/repos/emberjs/rfcs/issues/77/events","html_url":"https://github.com/emberjs/rfcs/issues/77","id":94729476,"number":77,"title":"Template Inheritance","user":{"login":"rwwagner90","id":2640861,"avatar_url":"https://avatars.githubusercontent.com/u/2640861?v=3","gravatar_id":"","url":"https://api.github.com/users/rwwagner90","html_url":"https://github.com/rwwagner90","followers_url":"https://api.github.com/users/rwwagner90/followers","following_url":"https://api.github.com/users/rwwagner90/following{/other_user}","gists_url":"https://api.github.com/users/rwwagner90/gists{/gist_id}","starred_url":"https://api.github.com/users/rwwagner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwwagner90/subscriptions","organizations_url":"https://api.github.com/users/rwwagner90/orgs","repos_url":"https://api.github.com/users/rwwagner90/repos","events_url":"https://api.github.com/users/rwwagner90/events{/privacy}","received_events_url":"https://api.github.com/users/rwwagner90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-13T14:09:21Z","updated_at":"2016-05-25T17:14:37Z","closed_at":null,"body":"Moving this discussion from Ember issues to here. The original issue was https://github.com/emberjs/ember.js/issues/11167\r\n\r\n\r\nI think something like this should be supported, especially with the push towards components.\r\n\r\nI want to have a parent component with a template like:\r\n```hbs\r\n<div>Foo</div>\r\n<div>Bar</div>\r\n{{yield}}\r\n```\r\n\r\nAnd then I would expect for child components, that extend that parent component to just be able to define a template of:\r\n\r\n```hbs\r\n<div>Baz</div>\r\n```\r\n\r\nAnd have it automatically put that in the yield, so whenever I used the child component, it would show up as:\r\n\r\n```hbs\r\n<div>Foo</div>\r\n<div>Bar</div>\r\n<div>Baz</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/emberjs/rfcs/issues/comments/221643528","html_url":"https://github.com/emberjs/rfcs/issues/77#issuecomment-221643528","issue_url":"https://api.github.com/repos/emberjs/rfcs/issues/77","id":221643528,"user":{"login":"locks","id":32344,"avatar_url":"https://avatars.githubusercontent.com/u/32344?v=3","gravatar_id":"","url":"https://api.github.com/users/locks","html_url":"https://github.com/locks","followers_url":"https://api.github.com/users/locks/followers","following_url":"https://api.github.com/users/locks/following{/other_user}","gists_url":"https://api.github.com/users/locks/gists{/gist_id}","starred_url":"https://api.github.com/users/locks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locks/subscriptions","organizations_url":"https://api.github.com/users/locks/orgs","repos_url":"https://api.github.com/users/locks/repos","events_url":"https://api.github.com/users/locks/events{/privacy}","received_events_url":"https://api.github.com/users/locks/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T17:14:37Z","updated_at":"2016-05-25T17:14:37Z","body":"Thanks for pinging me @rwwagner90.\r\n\r\nI believe that template inheritance is a footgun waiting to happen, and I'm not sure what the API for it would look like, since we wouldn't be able to change the current extending behaviour without breaking compatibility. I do think that composability is a better way forward, as you mention, and with the advent of tagless components there won't be the trade-off of extraneous `div` tags.\r\nAdding to that the lack of movement, I'm for closing the issue. Thank you for filing it and bringing some discussion to the topic."}}
{"actor":{"display_login":"locks"}}