reefpoints.dockyard.com

How to Understand Ember Actions in Context

When creating any web application it will at some point need to respond to user input. In Ember, this is accomplished with “Actions.” Often it seems that, although we use actions a lot, we might not have a great grasp on what they do. We know the basics — an action is a function that is most often triggered by user interactions. But to understand any functions in JavaScript, you really need a good bit of context. When using actions, we often pass them down a component tree (DDAU) so that a user is triggering the action on a child or a...