-
-
Notifications
You must be signed in to change notification settings - Fork 407
Introduce array and object literal syntax in templates #621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
2852186
to
e01376f
Compare
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 {{#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? |
Array and Object literal syntax was implemented in Handlebars but Glimmer does not (yet) use it |
No description provided.