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
attrs
object still a thing in components? Canattrs.foo.value
still 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.get
andEmber.set
were no longer necessary and ES5 properties were the way to go. Documentation still usesEmber.get
andEmber.set
everywhere. Which is correct?
Thanks alot!