Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 801 Bytes

no-unbound.md

File metadata and controls

25 lines (16 loc) · 801 Bytes

no-unbound

✅ The extends: 'recommended' property in a configuration file enables this rule.

{{unbound}} is a legacy hold over from the days in which Ember's template engine was less performant. Its use today is vestigial, and it no longer offers performance benefits.

It is also a poor practice to use it for rendering only the initial value of a property that may later change.

Examples

This rule forbids the following:

{{unbound aVar}}
{{some-component foo=(unbound aVar)}}

References