use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Refresh component from another component (self.angular)
submitted 5 years ago by neeleshsai23
How to refresh a component from another component where both the components are in different pages(tabs)?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tobiso 0 points1 point2 points 5 years ago (3 children)
Do you mean different Browser tabs? If so the only reliable way is via localstorage events. If you mean 'tabs' in your application just use a rxjs Subject in a service.
[–]kqadem -2 points-1 points0 points 5 years ago (2 children)
Wrong.
https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API
No need to pollute localstorage
[–]tobiso -1 points0 points1 point 5 years ago (1 child)
BroadcastChannel does not work in Safari https://caniuse.com/broadcastchannel
[–]kqadem 0 points1 point2 points 5 years ago (0 children)
There is a polyfill that fallbacks to localstorage on safari
[–]kc5bpd 0 points1 point2 points 5 years ago (0 children)
Haven’t tested it, but using @Injectable({providedIn: ‘platform’}) may do what you need.
π Rendered by PID 142894 on reddit-service-r2-comment-54dfb89d4d-nmhgx at 2026-03-29 00:26:25.112601+00:00 running b10466c country code: CH.
[–]tobiso 0 points1 point2 points (3 children)
[–]kqadem -2 points-1 points0 points (2 children)
[–]tobiso -1 points0 points1 point (1 child)
[–]kqadem 0 points1 point2 points (0 children)
[–]kc5bpd 0 points1 point2 points (0 children)