Ich frage mich, ob verschachtelte Vorlagen es ist sehr RAM ...Ember.js 2. Verwenden verschachtelte Vorlagen mehr RAM verbrauchen?
So etwas raubend mit:
dieseRouter.map(function() {
this.route('index', {path: '/'});
this.route('login');
this.route('authors', {path: 'authors'}, function() {
this.route('author', {path: ':author_id'}, function() {
this.route('book', {path: ':book_id'}, function() {
this.route('cart', {path: 'cart'});
});
});
});
});
ist mehr RAM schweren als?
Router.map(function() {
this.route('index', {path: '/'});
this.route('login');
this.route('authors', {path: '/authors'});
this.route('author', {path: '/author/:author_id'});
this.route('book', {path: '/book/:book_id'});
this.route('cart', {path: '/cart/:cart_id'});
});