@spectras wrote:
Hello,
I’m working again on a previous Ember-based project after ~18 months. I’m in the process of updating project for the latest release of Ember.js. I wonder what changed since Ember 2.0 on component side:
- What’s (in a few words) the status of Glimmer? And
<my-component>in templates?- Is the
attrsobject still a thing in components? Canattrs.foo.valuestill be observed? I seem to have some issues in components using that. And I’m wondering about forwards compatibility with glimmer.- What are the current effects of
foo=bar,foo=(mut bar),foo=(unbound bar)andfoo=(readonly bar)?- More generally, what’s today’s preferred way to do two-way binding, upwards on-way binding and downwards one-way binding?
- Someone told me that
Ember.getandEmber.setwere no longer necessary and ES5 properties were the way to go. Documentation still usesEmber.getandEmber.seteverywhere. Which is correct?Thanks alot!
Posts: 3
Participants: 2