This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
7
Remember state and scroll position when the user hits "back"
Post Flair (click to view more posts with a particular flair)
Post Body
I am working on an ecommerce app and the general flow is the following:
- A user scrolls through a long list of products (fetching more products when they scroll to the bottom)
- A user clicks a specific product to see the product detail page
- User adds that product to the cart
- They hit back and they start at the beginning of the long list of products
I'm trying to think of the best way to solve this hassle. There's two problems I have:
- When the user hits back the scroll position is lost
- When they hit back those further paginated results are lost and must be refetched
I'm not sure the angular
way to solve this problem. If I were coding in react redux I would have no problem loading up this data, but I just really don't want to have to implement redux on my angular stack. Any help would be appreciated!
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/angular/com...