Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions source/blog/2018-11-02-the-ember-times-issue-71.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
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
---

<SAYING-HELLO-IN-YOUR-FAVORITE-LANGUAGE> 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

---

Expand All @@ -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|}}
<Tag ...>...</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).

---

Expand Down Expand Up @@ -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