Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

Avoiding Reload on Transition Back to Listing Route From Details Route

$
0
0

@G_M wrote:

Given a site with a listing route and a details route where a user navigates from the listing route to the details route and then back to the listing route, what is the preferred way to maintain the state of the listing route when you navigate back into it?

I currently have something along the lines of :

this.route('posts');
this.route('post', {
	path: '/posts/:post_id'
});

But given that they are not nested the app does a full transition navigating between the routes and reloads the listing page. I’d like to avoid reloading the listing but I can’t nest the routes / UI due to design requirements.

Any ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles