Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 947 Bytes

File metadata and controls

31 lines (21 loc) · 947 Bytes

ember/template-no-unbound

💼 This rule is enabled in the 📋 template-lint-migration config.

{{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:

<template>
  {{unbound aVar}}
</template>
<template>
  {{some-component foo=(unbound aVar)}}
</template>

References