Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

A few questions for migrating from Ember 2.0 to 2.14

$
0
0

@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 attrs object still a thing in components? Can attrs.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) and foo=(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 and Ember.set were no longer necessary and ES5 properties were the way to go. Documentation still uses Ember.get and Ember.set everywhere. Which is correct?

Thanks alot!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles