{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/10093","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/10093/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/10093/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/10093/events","html_url":"https://github.com/emberjs/ember.js/pull/10093","id":53172850,"number":10093,"title":"Implement {{component}} helper","user":{"login":"lukemelia","id":353,"avatar_url":"https://avatars.githubusercontent.com/u/353?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemelia","html_url":"https://github.com/lukemelia","followers_url":"https://api.github.com/users/lukemelia/followers","following_url":"https://api.github.com/users/lukemelia/following{/other_user}","gists_url":"https://api.github.com/users/lukemelia/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemelia/subscriptions","organizations_url":"https://api.github.com/users/lukemelia/orgs","repos_url":"https://api.github.com/users/lukemelia/repos","events_url":"https://api.github.com/users/lukemelia/events{/privacy}","received_events_url":"https://api.github.com/users/lukemelia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2014-12-31T08:12:06Z","updated_at":"2015-01-03T19:43:49Z","closed_at":"2015-01-03T04:59:03Z","pull_request":{"url":"https://api.github.com/repos/emberjs/ember.js/pulls/10093","html_url":"https://github.com/emberjs/ember.js/pull/10093","diff_url":"https://github.com/emberjs/ember.js/pull/10093.diff","patch_url":"https://github.com/emberjs/ember.js/pull/10093.patch"},"body":"This PR implements the `{{component}}` helper, which allows passing of a param that is resolved and used to look up the component. Leveraging the first feature described above, it also automatically will swap the component for another when the bound value changes.  \r\n\r\nSee #5007 for more discussion and background. \r\n\r\nWhat's left:\r\n\r\n- [x] first pass of implementation\r\n- [x] collect code reviews and apply feedback\r\n- [x] create `{{component}}` helper docs\r\n- [x] basic test coverage\r\n- [x] more code reviews and apply feedback\r\n- [x] more test coverage, especially around actions \r\n- [x] more code review and apply feedback?\r\n"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/68606894","html_url":"https://github.com/emberjs/ember.js/pull/10093#issuecomment-68606894","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/10093","id":68606894,"user":{"login":"lukemelia","id":353,"avatar_url":"https://avatars.githubusercontent.com/u/353?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemelia","html_url":"https://github.com/lukemelia","followers_url":"https://api.github.com/users/lukemelia/followers","following_url":"https://api.github.com/users/lukemelia/following{/other_user}","gists_url":"https://api.github.com/users/lukemelia/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemelia/subscriptions","organizations_url":"https://api.github.com/users/lukemelia/orgs","repos_url":"https://api.github.com/users/lukemelia/repos","events_url":"https://api.github.com/users/lukemelia/events{/privacy}","received_events_url":"https://api.github.com/users/lukemelia/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T19:43:48Z","updated_at":"2015-01-03T19:43:48Z","body":"> Does the helper work with a component class object or instance, like the view helper did?\r\n\r\n@tobscure @stefanpenner @mmun Test coverage only covers name lookups, and IIRC, component class references are not supported per discussions during the issue/PR process. It would be trivial to support class references, but my understanding from @mmun is that we want to come up with another approach to support those use cases. "}}