jeudi 25 décembre 2014

How to make ember component fetch data from server. put AJAX call inside the component seems not a good practise to handle this

An Ember Component needs to fetch data from serve, however i think put AJAX call inside the component is not a good practise.


Or use the Route to fetch data, then pass data to component.But the route's method can't share easily between different routes.





Aucun commentaire:

Enregistrer un commentaire