emberjs/ember.js — Issue #444: Add {{#unbound}} block helper
Author: tomdale
Created: 2012-01-26 02:23:04+00:00
State: open
Labels: improvement, performance

@ebryn and @wycats have been having some discussions about overall improvements to the view layer to make it easier to have large "unbound" or quasi-bound sections. There are a few open possibilities:

1. #unbound blocks that would render initially and never update
2. #group blocks that would render initially and re-render entirely if any child property changes. These blocks may not be exposed, but might be used internally as heuristics would justify (i.e. we'd try to determine whether individual updating was better than group updating, and choose the right answer). It might also be exposed.
3. An optimization that would group several simple properties (`{{foo}} {{bar}} {{baz}}` would become a single grouped property, updated as needed). This would definitely be implemented as an optimization, probably at compile-time, and would not be exposed.

We are planning on meeting next week to hash out a basic plan, which we will then post here.