jeudi 21 janvier 2016

As of Ember version 2.3.0, is there a difference between component "attributes" vs. component "properties?"

In all ember documentation to date, they refer to a component's "properties." For example, calls to this.get('some_property') and this.set('some_property', 'some_value') are referred to as getting/setting a component's properties.

As of the latest documentation in version 2.2.0, 2.3.0, particularly in the documentation regarding component lifecycle hooks, they are now using the term attributes. This does not seem to be documented in the API and seems to be a concept that overlaps with properties.

Is there an effective difference between the two?




Aucun commentaire:

Enregistrer un commentaire