[Ember] Using advanced features

If you are eager to learn and use the latest features within Ember. For example, Ember Best Practices: Actions Down, Data Up… wait what?

What you need to do is simple

  1. Look through the change logs for Ember Canary, here
  2. Look up the all available features flags
https://github.com/emberjs/ember.js/blob/master/features.json

3. Turn desired features flags in file

config/environment.js

With codes just like following

Cheers!

By the way, I’m so excited about router service that revealed from Embermap’s post, do check it out. Given that, we dont have to user private API like

// NO MORE
routing: Ember.inject.service('-routing')

// USE THIS INSTEAD
router: Ember.inject.service()
Show your support

Clapping shows how much you appreciated Alan Dong’s story.