diff --git a/source/blog/2018-11-02-the-ember-times-issue-71.md b/source/blog/2018-11-02-the-ember-times-issue-71.md index 1a56f33339..9b0f15c5a9 100644 --- a/source/blog/2018-11-02-the-ember-times-issue-71.md +++ b/source/blog/2018-11-02-the-ember-times-issue-71.md @@ -1,6 +1,6 @@ --- title: The Ember Times - Issue No. 71 -author: Chris Ng, Jessica Jordan, the crowd +author: Chris Ng, Jessica Jordan, Kenneth Larsen, the crowd tags: Recent Posts, Newsletter, Ember.js Times, Ember Times, 2018 alias : "blog/2018/11/02-the-ember-times-issue-71.html" responsive: true @@ -8,7 +8,7 @@ responsive: true Emberistas! 🐹 -This week your **help is needed** to bring **tree-shaking** 🌳 to Ember apps, +This week your **help is needed** to bring **tree-shaking** 🌳 to Ember apps, an new RFC on dynamic tags is ready for your comments --- @@ -32,8 +32,18 @@ If you're feeling up to the task to help tree-shaking land in Ember and you're c --- -## [SECTION TITLE](#section-url) +## [A New and Dynamic RFC](https://github.com/cibernox/rfcs/blob/dynamic-tag-names/text/0000-dynamic-tag-names.md) +[@cibernox](https://github.com/cibernox) has submitted a new RFC suggesting **dynamic tag names in glimmer templates**. In the transition from using inner-html semantics to using outer-html semantics in components there's one feature that has been lost: Being able to dynamically define the tag name of components. + +To solve this issue the RFC proposes a new `element` helper that takes a tag name and generates a contextual component that, when invoked, renders the selected element. Like this: + +```handlebars +{{#let (element "li") as |Tag|}} + ... +{{/let}} +``` +You can try out [a working proof of concept on Github](https://github.com/tildeio/ember-element-helper) and you can read all the details about the [RFC in the proposal](https://github.com/cibernox/rfcs/blob/dynamic-tag-names/text/0000-dynamic-tag-names.md). --- @@ -109,4 +119,4 @@ That's another wrap! ✨ Be kind, -Chris Ng, Jessica Jordan, the crowd and the Learning Team +Chris Ng, Jessica Jordan, Kenneth Larsen, the crowd and the Learning Team