Ember's official documentation describes a number of low-level APIs, but doesn't talk much about how to put them together. As a result, a simple task such as creating a simple CRUD application is not obvious to a newcomer.
-
If you return a promise
beforeModel
,model
, andafterModel
in a route, it will wait to resolve thepromise
before transitioning into the route. This is helpful when using loading and error substate templates. -
All ember data records go into a global cache. There is not a cache per query,