Ember Route Action Helper Tutorial

1,004 views · Published 26 December 2016 · 6:25 · Indexed 7 October 2026

Channel: Program With Erik · 2016 · Science & Technology

Watch on YouTube

In this video I'll explain how to use the Ember Route Action Helper addon made by the good people at Dockyard.

As per the documentation:

The route-action helper allows you to bubble closure actions, which will delegate it to the currently active route hierarchy per the bubbling rules explained under actions. Like closure actions, route-action will also have a return value.

In the past I've talked about how Ember.js Controllers are dead. That's not the case, at least not yet. If you like to get rid of controllers, you'll need to use sendAction. Closure actions don't bubble to the route. The route action helper fixes this among other things. 

Get my Ember.js Cheat Sheet sent to your email!
http://eepurl.com/2VFJn

Buy my new book the Ember.js Cookbook here!
http://goo.gl/B3cOZT

Check out my website
http://www.programwitherik.com

Find me here
http://www.twitter.com/erikch
http://www.facebook.com/programwitherik

Ember Route Action Helper Github
https://github.com/DockYard/ember-route-action-helper

Are Ember.js Controllers Dead?
https://www.youtube.com/watch?v=ovgDR2qAl-Q&t=1s

More from this channel