rfcs
rfcs copied to clipboard
Introduce array and object literal syntax in templates
Love this idea. We can mention that one possible implementation is to precompile to the array and hash helpers during that stage to eliminate any possible slowdown at runtime from adding to parsing.
may be related https://github.com/lifeart/ember-eval-helper#ember-eval-helper especially, for cases like:
{{#let (e "{ projectName: 'Ember' }") as |project|}}
<h2 id="title">{{project.projectName}}</h2>
{{/let}}
{{#each (e "[1,2,3,4]") as |item|}}
Number: {{item}}
{{/each}}
@locks where does this stand?