Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
blog(embertimes#86): add rfc writeup for htmlSafe and with
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjayjpg committed Feb 21, 2019
1 parent 8ecdc93 commit beae8cf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/blog/2019-02-22-the-ember-times-issue-86.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ Read and comment on the [Decorator Support RFC](https://github.com/emberjs/rfcs/

---

## [SECTION TITLE](#section-url)
## [Less Confused 🤷‍♀️🚫 with htmlSafe and with](https://github.com/emberjs/rfcs/pull/443)

Two new **Requests for Comments (RFC)** propose deprecations to better avoid confusion in Ember apps:
[One of the proposals](https://github.com/emberjs/rfcs/pull/443) aims to rename the `htmlSafe` template helper and util to `trustedHtml` in an effort to convey the mechanism of the util better.

[The second RFC](https://github.com/emberjs/rfcs/pull/445) proposes the deprecation of the `with` template helper acknowledging the rather recent [`let` helper](https://guides.emberjs.com/release/templates/built-in-helpers/#toc_built-in-block-helpers), that can now be used in templates instead of and with much clearer intent than `with`.

Be sure to check out the original proposals for [the renaming of htmlSafe](https://github.com/emberjs/rfcs/pull/443) and [the deprecation of the with helper](https://github.com/emberjs/rfcs/pull/445) and leave your comments below!


---
Expand Down

0 comments on commit beae8cf

Please sign in to comment.