Bound template in {{render}}?


#1

Hey,

When using {{partial}} I can use a bound attribute for the partial name, but not with render. It seems it would be useful.

Do you guys know why there is such a difference? I tried to create a bound-render helper that would just call the renderHelper directly, but I get into weird redrawing issues.

Thanks, Julien.


#2

Bound {{render}} is very difficult. I took a stab at this shortly after the {{partial}} helper became bound (you can see my progress here), but quickly ran into crazy edge cases due to the fact that {{render}} does significantly more things than {{partial}}.