Skip to content

Commit

Permalink
link
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinJoyce committed Feb 13, 2019
1 parent 7258199 commit e6b2c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Summary

The `{{with}}` helper has always had slightly confusing conditional semantics, this was one of the motivators for introducing the easier to understand `{{let}}` helper. Now that `{{let}}` exists, the remaining use case for using `{{with}}` is for its unique conditional semantics. The name `{{with}}` doesn't accurately represent the helpers behavior, we should rename it to `{{if-let}}`.
The `{{with}}` helper has always had slightly confusing conditional semantics, this was one of the motivators for [introducing](https://github.com/emberjs/rfcs/blob/master/text/0286-block-let-template-helper.md) the easier to understand `{{let}}` helper. Now that `{{let}}` exists, the remaining use case for using `{{with}}` is for its unique conditional semantics. The name `{{with}}` doesn't accurately represent the helpers behavior, we should rename it to `{{if-let}}`.

## Motivation

Expand Down

0 comments on commit e6b2c97

Please sign in to comment.