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

Question about the Native Decorator Support feature

$
0
0

@samselikoff wrote:

I’m working on the next video in EmberMap’s free What’s New in Ember series and it’s for RFC 440 Native Decorator Support, which was a feature that landed in 3.10.

I’m trying to understand what this means for day-to-day Ember developers.

It looks like the #408 Decorator support RFC preceded this one, but I’m still not quite sure if either of these meant any recommended changes to user-facing APIs.

I believe the 3.15 guides were the first to show decorators, starting with the actions example in the quickstart. The 3.14 Quickstart still shows the actions hash as the recommended way to define actions, and the classic usage of things like computed properties.

So – if anyone could help me sort through this I’d be very grateful! The point of the series is to distill what each new Ember feature means to working Ember devs, so I want to make sure the information is accurate.

From what I can gather, these RFCs were more about setting the stage for Ember’s usage of decorators in later versions (3.15), and ironing out the commitment to supporting decorators even before they moved to stage 3. If true, that means a team who upgraded to 3.10 shouldn’t be changing how they write actions or decorators just yet. Is that correct?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles