Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 806 Bytes

File metadata and controls

29 lines (20 loc) · 806 Bytes

ember/template-no-unbound

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