4 ms·
This is our strategy as well at Uniiverse. This is also an effective way of ensuring that data is in sync, should that be a requirement in a particular state. J
by psycr 14y ago
This is our strategy as well at Uniiverse. This is also an effective way of ensuring that data is in sync, should that be a requirement in a particular state. Just attach the call on State.enter() and you're good to go.
- terbanator 14y agoWe use this strategy also. In setupController functions, (of your routes), we typically run fetches and fill content of our controllers. Why does everyone get hung up on Ember-data?
- ulisesrmzroche 14y agoHow are ya'll caching your stuff? Sounds like all that is doing is just making fresh requests for every route.
- terbanator 14y agoWe use a local storage method in browser and app data when running in phone gap
- psycr 14y agoThe Controller. Then you can do a quick check to see if `someControllerForState.hasData()`.