Updated specific locations to be searchable, take a look at Las Vegas as an example.

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.

2
How to re-populate an observable subject if page is reloaded?
Post Flair (click to view more posts with a particular flair)
Post Body

I have an observable subject of customers that is populated once the user logs in. This customers$ is then accessed by components on various routes across the application.

My issue: If the user refreshes the page I then don't have any records in customer$.

What is the best way to deal with this without having to retrieve the customers from the server each time the user navigates to a route that uses the customer data as this kind of kills the benefit of using observable subjects.

Is there a suitable place to check the array length on page reload but only if the isLoggedIn$ observable is set to true? (this is because the userID is required for the customer API request)

Thoughts / comments gratefully received

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 2 days ago
Posts updated: 3 weeks ago

Subreddit

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
7 years ago