Are closure actions replacing the old style using sendAction?


#1

Is there any talk of the old style of actions with sendAction going away? Just curious.


#2

I suspect it will be likely in the future. Certainly not pre 3.0 though


#3

Following the discussion on the Kebab Actions RFC and on some of the blog posts, it seems very likely this will be the case. Additional hints at this can be found around Routable Components discussions as it seems they will no longer support action bubbling.

I would not worry about it in the short term. The likely replacement, Kebab Actions, isn’t even stable yet, so it will be some time before {{action "blargh"}} is deprecated. And as Alex said, it can’t be removed until Ember 3.x.


#4

cool thanks. i was just curious as i was reading up on closure actions