emberjs / guides

This repository is DEPRECATED!
https://github.com/ember-learn/guides-source
Other
283 stars 873 forks source link

Explain `.[]` before `.@each` in "Computed Properties and Aggregate Data" #2273

Closed locks closed 6 years ago

locks commented 6 years ago

Guide: https://guides.emberjs.com/v3.0.0/object-model/computed-properties-and-aggregate-data/

This guide explains @each, and then compares it to [] but there is no explanation of what [] is, making the property confusing. There are also many cases where [] is the appropriate API to use, but people only know about @each.

Bestra commented 6 years ago

I'll plan on picking this up some time this week, but if anyone else is burning to take it from me let me know!

acorncom commented 6 years ago

Closed by #2282